From acb74cc829f5a71cf85658b00a2c777ec62719e2 Mon Sep 17 00:00:00 2001 From: Stan Triepels <1939656+GDay@users.noreply.github.com> Date: Sun, 28 Apr 2024 17:48:26 +0200 Subject: [PATCH] Fix timezone on new hire detail page (#465) --- back/admin/people/templates/new_hire_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/admin/people/templates/new_hire_detail.html b/back/admin/people/templates/new_hire_detail.html index 0bd14bee2..f641288bc 100644 --- a/back/admin/people/templates/new_hire_detail.html +++ b/back/admin/people/templates/new_hire_detail.html @@ -1,5 +1,5 @@ {% extends 'admin_base.html' %} -{% load i18n %} +{% load i18n tz %} {% load general %} {% block actions %} @@ -133,7 +133,7 @@

{% translate "Latest activity..." %}

{{ notification.get_notification_type_display }} -
{% translate "By" %}{% if notification.created_by %} {{ notification.created_by.full_name }}{% else %} ChiefOnboarding{% endif %} - {{ notification.created }}
+
{% translate "By" %}{% if notification.created_by %} {{ notification.created_by.full_name }}{% else %} ChiefOnboarding{% endif %} - {% timezone org.timezone %}{{ notification.created }}{% endtimezone %}
{% if notification.can_delete %}
{% csrf_token %}