Fix date formatting.

This commit is contained in:
Ghazi Triki 2019-10-02 19:18:13 +01:00
parent 7b6220593c
commit 998809f932
2 changed files with 7 additions and 2 deletions

View File

@ -52,15 +52,20 @@ task copyWebInf(type: Copy) {
from("src/main/webapp")
}
// Task that creates the index file which lists all extra libs
task copyViews(type: Copy) {
into("${project.buildDir}/resources/main/grails-app/views")
from("grails-app/views")
}
task copyI18n(type: Copy) {
into("${project.buildDir}/resources/main/grails-app/i18n")
from("grails-app/i18n")
}
// make processResources depends on copyWebInf task
processResources.dependsOn copyWebInf
copyWebInf.dependsOn copyViews
copyViews.dependsOn copyI18n
repositories {
jcenter()

View File

@ -58,7 +58,7 @@
</div>
</g:if>
</td>
<td class="cell c4" style="text-align:left;">${r.unixDate}</td>
<td class="cell c4" style="text-align:left;">${r.reportDate}</td>
<td class="cell c5" style="text-align:right;">${r.duration}</td>
<g:if test="${ismoderator}">
<td class="cell c6 lastcol" style="text-align:center;">