fix all tests

This commit is contained in:
Kenneth Kehl
2023-06-26 14:07:28 -07:00
parent ed274bd266
commit 7168309fbb
11 changed files with 52 additions and 46 deletions

View File

@@ -66,6 +66,7 @@ from app.formatters import (
format_notification_type,
format_number_in_pounds_as_currency,
format_thousands,
format_time_24h,
format_yes_no,
id_safe,
iteration_count,
@@ -554,6 +555,7 @@ def add_template_filters(application):
format_day_of_week,
format_delta,
format_delta_days,
format_time_24h,
format_notification_status,
format_notification_type,
format_notification_status_as_time,

View File

@@ -47,6 +47,10 @@ def format_datetime_24h(date):
)
def format_time(date):
return format_datetime_24h(date)
def format_datetime_normal(date):
return '{} at {}'.format(
format_date_normal(date),

View File

@@ -38,7 +38,7 @@
{{ user_getter(event.user_id) }}
</div>
<div class="history-list-time">
{{ event.time|format_time }}
{{ event.time | format_time_24h }}
</div>
</div>
<div class="govuk-grid-column-two-thirds">