Add configurable TIMEZONE for web UI display (UTC storage preserved)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<div>
|
||||
<h6 class="card-title mb-1">{{ n.title }}</h6>
|
||||
<p class="card-text mb-1 text-muted small">{{ n.message }}</p>
|
||||
<p class="card-text"><small class="text-muted">{{ n.sent_at.strftime('%Y-%m-%d %H:%M') if n.sent_at else '-' }}</small></p>
|
||||
<p class="card-text"><small class="text-muted">{{ n.sent_at | localtime }}</small></p>
|
||||
</div>
|
||||
{% if not n.is_read %}
|
||||
<button class="btn btn-sm btn-outline-success mark-read" data-id="{{ n.id }}">Прочитать</button>
|
||||
|
||||
Reference in New Issue
Block a user