[UPDT] PMS: Date and time format in comment section view

This commit is contained in:
Horilla
2023-12-28 18:14:01 +05:30
parent 828f5dcc5a
commit a6dcc62ffc
2 changed files with 7 additions and 3 deletions

View File

@@ -132,7 +132,7 @@
aria-hidden="true"
>
<div class="oh-modal__dialog">
<div class="oh-modal__dialog" id="ObjectiveModalFormTarget">aaaaaaaaaaaaaaaaaaaaa
<div class="oh-modal__dialog" id="ObjectiveModalFormTarget">
</div>
</div>
</div>

View File

@@ -22,7 +22,10 @@
</div>
<small class="oh-activity-list__description">
<span><strong>{{comment.employee_id}}</strong> {% trans "added a comment" %}</span>
<span class="oh-activity-list__comment-timestamp">{{comment.created_at}}</span>
<div class="oh-activity-list__comment-timestamp mt-1">
<span class="dateformat_changer">{{ comment.created_at|date:"M. d, Y" }}</span>&nbsp,&nbsp
<span class="timeformat_changer">{{ comment.created_at|date:"g:i a" }}</span>
</div>
</small>
</div>
<div class="oh-activity-list__comment-container">
@@ -50,7 +53,8 @@
</li>
<li>
<small>
{{history_object.changed_date}}
<span class="dateformat_changer">{{ history_object.changed_date|date:"M. d, Y" }}</span>&nbsp,&nbsp
<span class="timeformat_changer">{{ history_object.changed_date|date:"g:i a" }}</span>
</small>
</li>
{% endif %}