aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/tpl/plain.tpl7
-rw-r--r--view/tpl/regate.tpl1
2 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/plain.tpl b/view/tpl/plain.tpl
index 9af76718e..b01ee9baa 100644
--- a/view/tpl/plain.tpl
+++ b/view/tpl/plain.tpl
@@ -1,3 +1,10 @@
<h2>{{$title}}</h2>
{{if $now}}<div>{{$now}}</div>{{/if}}
<div style="font-weight: normal; font-family: monospace;">{{$infos}}</div>
+<script>
+ $('.register_date').each( function () {
+ var UTC = $(this).html();
+ var date = new Date(UTC);
+ $(this).html(date.toLocaleString());
+ });
+</script>
diff --git a/view/tpl/regate.tpl b/view/tpl/regate.tpl
index 38135d424..bae0884dc 100644
--- a/view/tpl/regate.tpl
+++ b/view/tpl/regate.tpl
@@ -20,4 +20,3 @@
</form>
<div class="clear"></div>
-