mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
fix all tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user