burrodiarachidi

This commit is contained in:
Benedetta 2024-05-02 12:15:41 +02:00
parent e252c9252e
commit 5c3cbbd849

View file

@ -133,7 +133,7 @@ let should_alert now alerts =
let issue_data_to_json (issue: Datatypes.forgejo_issue_data) =
let open Yojson.Basic in
let due_date = Option.value ~default:"" issue.due_date in
let due_date = Option.value ~default:"" issue.due_date |> String.split_on_char 'T' |> List.hd in
let room_id = issue.matrix_target in
let content = [%string {|[%{issue.title}](%{issue.url}) - %{due_date}