Format timestamps more concisely

Signed-off-by: Graham <gpe@openrs2.org>
Graham 4 years ago
parent b5a4f75fb9
commit 86e9963a75
  1. 2
      archive/src/main/resources/org/openrs2/archive/templates/caches/index.html

@ -35,7 +35,7 @@
<tr th:each="cache : ${caches}"> <tr th:each="cache : ${caches}">
<td th:text="${cache.game}">runescape</td> <td th:text="${cache.game}">runescape</td>
<td th:text="${cache.build}" class="text-right">550</td> <td th:text="${cache.build}" class="text-right">550</td>
<td th:text="${#temporals.formatISO(cache.timestamp)}"></td> <td th:text="${#temporals.format(cache.timestamp, 'yyyy-MM-dd HH:mm:ss')}"></td>
<td th:text="${cache.name}"></td> <td th:text="${cache.name}"></td>
<td <td
th:class="${cache.archiveStats}? (${cache.archiveStats.allIndexesValid}? 'table-success' : 'table-danger') + ' text-right'" th:class="${cache.archiveStats}? (${cache.archiveStats.allIndexesValid}? 'table-success' : 'table-danger') + ' text-right'"

Loading…
Cancel
Save