X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/21dcf10386551a2eee3e552c3213bb14e535cbba..a0d22c391e6e2bbe0d10a888df1ba77a468d5a18:/ui-commit.c
diff --git a/ui-commit.c b/ui-commit.c
index e697571..099d294 100644
--- a/ui-commit.c
+++ b/ui-commit.c
@@ -56,7 +56,7 @@ void cgit_print_commit(char *hex, const char *prefix)
cgit_close_filter(ctx.repo->email_filter);
html("
");
html_txt(show_date(info->author_date, info->author_tz,
- cgit_date_mode(FMT_LONGDATE)));
+ cgit_date_mode(DATE_ISO8601)));
html(" | \n");
html("| committer | ");
cgit_open_filter(ctx.repo->email_filter, info->committer_email, "commit");
@@ -68,7 +68,7 @@ void cgit_print_commit(char *hex, const char *prefix)
cgit_close_filter(ctx.repo->email_filter);
html(" | ");
html_txt(show_date(info->committer_date, info->committer_tz,
- cgit_date_mode(FMT_LONGDATE)));
+ cgit_date_mode(DATE_ISO8601)));
html(" |
\n");
html("| commit | ");
tmp = oid_to_hex(&commit->object.oid);
|
|---|