diff options
author | Vitaly Takmazov | 2023-01-29 05:44:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-30 23:49:25 +0300 |
commit | f8a7d417cb916b81cfa685175f3e6afbe6063cee (patch) | |
tree | 3f6923f3f32540e8506ce5b43b610460b4c67559 /src/main/resources/templates | |
parent | dd23559a978da8980675ad4089948ade9bbc323d (diff) |
SQLite support
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r-- | src/main/resources/templates/views/partial/message.html | 4 | ||||
-rw-r--r-- | src/main/resources/templates/views/thread.html | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index 9a33c432..9d54d614 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -11,8 +11,8 @@ <i data-icon="ei-lock" data-size="s"></i> · {% endif %} <a href="/{{ msg.user.name }}/{{ msg.mid }}"> - <time datetime="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }}Z" - title="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }} GMT"> + <time datetime="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }}Z" + title="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }} GMT"> {{ msg.created | prettyTime }} </time> </a> diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index 7b68df66..ca74a2ff 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -16,8 +16,8 @@ <i data-icon="ei-lock" data-size="s"></i> · {% endif %} <a href="/{{ msg.user.name }}/{{ msg.mid }}"> - <time datetime="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }}Z" - title="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }} GMT"> + <time datetime="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }}Z" + title="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }} GMT"> {{ msg.created | prettyTime }} </time> </a> @@ -143,8 +143,8 @@ {% endif %} <div class="msg-ts"> <a href="/{{ msg.mid }}#{{ msg.rid }}"> - <time datetime="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }}Z" - title="{{ msg.created | timestamp | date('yyyy-MM-dd HH:mm:ss') }} GMT"> + <time datetime="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }}Z" + title="{{ msg.created | date('yyyy-MM-dd HH:mm:ss', timeZone="UTC") }} GMT"> {{ msg.created | prettyTime }} </time> </a> |