the repository which powers this website
Diffstat (limited to 'themed/refs.html')
| -rw-r--r-- | themed/refs.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themed/refs.html b/themed/refs.html index 80b4e527..18d7d2da 100644 --- a/themed/refs.html +++ b/themed/refs.html @@ -35,7 +35,7 @@ <div><a href="{! cgit_shared_repolink_url(NULL, name, NULL); !}" class="text-blue-500 hover:text-blue-600 hover:underline">{{ name }}</a></div> {% if ref->object->type == OBJ_COMMIT %} <div class="text-sm text-gray-500 flex gap-x-1"> - {{ info->subject }} · Updated {! cgit_print_age(info->committer_date, info->committer_tz, -1); !} ago + {{ info->subject }} · Updated {! cgit_print_age_themed(info->committer_date, info->committer_tz, TM_MONTH * 12); !} <img src="{! gravatar_url(info->author_email); !}?s=24" class="mt-[-0.2rem]"> {{ info->author }} </div> @@ -86,7 +86,7 @@ {% if info && (info->tagger_date > 0 || info->tagger) %} <div class="text-sm text-gray-500 flex gap-x-1"> {% if info->tagger_date > 0 %} - Updated {! cgit_print_age(info->tagger_date, info->tagger_tz, -1); !} ago + Updated {! cgit_print_age_themed(info->tagger_date, info->tagger_tz, TM_MONTH * 12); !} {% endif %} {% if info->tagger %} <img src="{! gravatar_url(info->tagger_email); !}?s=24" class="mt-[-0.2rem]"> @@ -95,7 +95,7 @@ </div> {% elif ref->object->type == OBJ_COMMIT %} <div class="text-sm text-gray-500 flex gap-x-1"> - Updated {! cgit_print_age(ref->commit->commit->date, 0, -1); !} ago + Updated {! cgit_print_age_themed(ref->commit->commit->date, 0, TM_MONTH * 12); !} <img src="{! gravatar_url(ref->commit->author_email); !}?s=24" class="mt-[-0.2rem]"> {{ ref->commit->author }} </div> |