aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r--view/tpl/register.tpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index c380b5c87..8033d0a76 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -74,5 +74,12 @@
' .zuiqmid { font-weight: normal; font-family: monospace; }'+
' .zuirise { font-weight: bold; font-size: 100%; color: red; }'+
'</style>');
+
{{$tao}}
+
+ var week_days = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'];
+ $('.register_date').each( function () {
+ var date = new Date($(this).data('utc'));
+ $(this).html(date.toLocaleString(undefined, {weekday: 'short', hour: 'numeric', minute: 'numeric'}));
+ });
</script>