[UPDT] PMS: Date and time format in comment section view
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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> , 
|
||||
<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> , 
|
||||
<span class="timeformat_changer">{{ history_object.changed_date|date:"g:i a" }}</span>
|
||||
</small>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user