]> git.ipfire.org Git - pbs.git/commitdiff
mirrors: Use the correct function to format the check time
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Jan 2025 20:35:11 +0000 (20:35 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Jan 2025 20:35:11 +0000 (20:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/mirrors/show.html

index f9194b4666c2ed4b4902a572ef1ee093089b5fdd..faadbd1bfe88709bfb95085cc7b15699c504ce3e 100644 (file)
@@ -72,7 +72,7 @@
                                                        <div>
                                                                <p class="heading">{{ _("Last Check") }}</p>
                                                                <p>
-                                                                       {{ locale.format_date(mirror.last_check_at, shorter=True) }}
+                                                                       {{ mirror.last_check_at | format_date(shorter=True) }}
                                                                </p>
                                                        </div>
                                                </div>