tangled
alpha
login
or
join now
aottr.dev
/
paw
0
fork
atom
Free and open source ticket system written in python
0
fork
atom
overview
issues
pulls
pipelines
format date from language
Dustin Kroeger
2 years ago
1d916084
cd8e0e18
+5
-5
3 changed files
expand all
collapse all
unified
split
paw
__init__.py
templates
ticketing
ticket_detail.html
tickets_history.html
+1
-1
paw/__init__.py
···
1
1
from django import get_version
2
2
3
3
-
VERSION = (0, 5, 6, "final", 0)
3
3
+
VERSION = (0, 5, 7, "final", 0)
4
4
5
5
__version__ = get_version(VERSION)
+3
-3
paw/templates/ticketing/ticket_detail.html
···
53
53
</div>
54
54
<div class="chat-header">
55
55
{{ comment.user.username }}
56
56
-
<time class="text-xs opacity-50">{{ comment.created_at|date:"d.m.y" }}</time>
56
56
+
<time class="text-xs opacity-50">{{ comment.created_at|date:"SHORT_DATE_FORMAT" }}</time>
57
57
</div>
58
58
<div class="chat-bubble {% if comment.is_only_for_staff %}bg-base-300 text-base-content{% endif %} whitespace-pre-line">{{ comment.text }}</div>
59
59
{% if comment.is_only_for_staff %}
···
140
140
</div>
141
141
<div class="my-4 text-base-content/85 flex items-center text-sm font-semibold">
142
142
<svg xmlns="http://www.w3.org/2000/svg" class="mr-2 w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>
143
143
-
{% trans 'Created on' %} {{ ticket.created_at }}
143
143
+
{% trans 'Created on' %} {{ ticket.created_at|date:"SHORT_DATETIME_FORMAT" }}
144
144
</div>
145
145
<div class="text-base-content/85 flex items-center text-sm font-semibold">
146
146
<svg xmlns="http://www.w3.org/2000/svg" class="mr-2 w-6 h-6" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>
147
147
-
{% trans 'Last updated' %} {{ ticket.updated_at }}
147
147
+
{% trans 'Last updated' %} {{ ticket.updated_at|date:"SHORT_DATETIME_FORMAT" }}
148
148
</div>
149
149
150
150
<h2 class="font-semibold text-xs mt-4 mb-2">{% trans 'Contact' %}</h2>
+1
-1
paw/templates/ticketing/tickets_history.html
···
43
43
{% endif %}
44
44
</div>
45
45
</td>
46
46
-
<td>{{ ticket.updated_at|date:"d.m.Y H:m" }}</td>
46
46
+
<td>{{ ticket.updated_at|date:"SHORT_DATETIME_FORMAT" }}</td>
47
47
<td class="flex justify-end"><a href="{% url 'ticket_detail' ticket.id %}" class="btn btn-xs btn-accent">{% trans 'View' %}</a></td>
48
48
</tr>
49
49
{% endfor %}