Skip to content

Commit

Permalink
Fix timezone on new hire detail page (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
GDay authored Apr 28, 2024
1 parent 5876a02 commit acb74cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions back/admin/people/templates/new_hire_detail.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends 'admin_base.html' %}
{% load i18n %}
{% load i18n tz %}
{% load general %}

{% block actions %}
Expand Down Expand Up @@ -133,7 +133,7 @@ <h3 class="card-title">{% translate "Latest activity..." %}</h3>
{{ notification.get_notification_type_display }}
</div>
</div>
<div class="text-truncate text-muted">{% translate "By" %}{% if notification.created_by %} {{ notification.created_by.full_name }}{% else %} ChiefOnboarding{% endif %} - {{ notification.created }}</div>
<div class="text-truncate text-muted">{% translate "By" %}{% if notification.created_by %} {{ notification.created_by.full_name }}{% else %} ChiefOnboarding{% endif %} - {% timezone org.timezone %}{{ notification.created }}{% endtimezone %}</div>
{% if notification.can_delete %}
<form method="post" action="{% url 'people:remove_sequence' object.id notification.item_id %}">
{% csrf_token %}
Expand Down

0 comments on commit acb74cc

Please sign in to comment.