From 998809f93239336525f168af711536df12baaf57 Mon Sep 17 00:00:00 2001 From: Ghazi Triki <ghazi.triki@riadvice.tn> Date: Wed, 2 Oct 2019 19:18:13 +0100 Subject: [PATCH] Fix date formatting. --- bbb-lti/build.gradle | 7 ++++++- bbb-lti/grails-app/views/tool/index.gsp | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bbb-lti/build.gradle b/bbb-lti/build.gradle index 9cc4ea4acb..ea3288f6cc 100644 --- a/bbb-lti/build.gradle +++ b/bbb-lti/build.gradle @@ -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() diff --git a/bbb-lti/grails-app/views/tool/index.gsp b/bbb-lti/grails-app/views/tool/index.gsp index 4d2b78cb46..8ae06e529c 100644 --- a/bbb-lti/grails-app/views/tool/index.gsp +++ b/bbb-lti/grails-app/views/tool/index.gsp @@ -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;"> -- GitLab