german time representation by keeping the ordering right; see #3

This commit is contained in:
Jottyfan
2024-01-13 15:42:59 +01:00
parent f1f9a5be9b
commit cffe483969
2 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@ plugins {
} }
group = 'de.jottyfan.bico' group = 'de.jottyfan.bico'
version = '0.0.7' version = '0.0.8'
description = """BibleClassOrganizer""" description = """BibleClassOrganizer"""
@ -52,7 +52,7 @@ dependencies {
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:latest.release' implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:latest.release'
implementation 'org.springframework.security:spring-security-oauth2-client' implementation 'org.springframework.security:spring-security-oauth2-client'
implementation 'org.webjars:bootstrap:5.3.1' implementation 'org.webjars:bootstrap:5.3.2'
implementation 'org.webjars.npm:bootstrap-icons:1.10.5' implementation 'org.webjars.npm:bootstrap-icons:1.10.5'
implementation 'org.webjars:jquery:3.7.1' implementation 'org.webjars:jquery:3.7.1'
implementation 'org.webjars:datatables:1.13.5' implementation 'org.webjars:datatables:1.13.5'

View File

@ -14,7 +14,7 @@
</thead> </thead>
<tbody> <tbody>
<tr th:each="s : ${list}"> <tr th:each="s : ${list}">
<td><span th:text="${#temporals.format(s.slotDay, 'yyyy-MM-dd')}"></span></td> <td th:data-sort="${#temporals.format(s.slotDay, 'yyyy-MM-dd')}"><span th:text="${#temporals.format(s.slotDay, 'dd.MM.yyyy')}"></span></td>
<td><a th:href="@{/lesson?slotId={id}(id=${s.pkSlot})}" class="btn btn-outline-secondary"> <span th:text="${s.abbreviation}" th:if="${s.abbreviation}"></span> <i <td><a th:href="@{/lesson?slotId={id}(id=${s.pkSlot})}" class="btn btn-outline-secondary"> <span th:text="${s.abbreviation}" th:if="${s.abbreviation}"></span> <i
class="bi bi-pencil" th:if="${s.abbreviation == null || s.abbreviation.isBlank()}"></i> class="bi bi-pencil" th:if="${s.abbreviation == null || s.abbreviation.isBlank()}"></i>
</a></td> </a></td>
@ -48,10 +48,6 @@
/*<![CDATA[*/ /*<![CDATA[*/
$(document).ready(function() { $(document).ready(function() {
$("#table").DataTable({ $("#table").DataTable({
"columnDefs" : [ {
"targets" : 0,
"type" : "date-eu"
} ],
"order" : [ [ 0, 'desc' ] ], "order" : [ [ 0, 'desc' ] ],
"language" : locale_de "language" : locale_de
}); });