summaryrefslogtreecommitdiff
path: root/src/application/views/template_end.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/views/template_end.php')
-rw-r--r--src/application/views/template_end.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/application/views/template_end.php b/src/application/views/template_end.php
index f7f70a9..27fc3ba 100644
--- a/src/application/views/template_end.php
+++ b/src/application/views/template_end.php
@@ -15,6 +15,14 @@ $(function() {
var date = new Date($(e).text());
$(e).text(date.toLocaleString());
});
+ $("._date").each(function(i, e) {
+ var date = new Date($(e).text());
+ $(e).text(date.toLocaleDateString());
+ });
+ $("._time-only").each(function(i, e) {
+ var date = new Date($(e).text());
+ $(e).text(date.toLocaleTimeString());
+ });
});
</script>