diff options
author | Jonas Kohl | 2024-09-13 19:57:43 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-13 19:57:43 +0200 |
commit | 93817fef3ead7cfd4fcde25ea2bcec02d01310a4 (patch) | |
tree | 60f6ab69bbf2360d7cc518023090b8bf61bfd5b1 /src/application/views/template_end.php | |
parent | 086e2d2668784469ec114f6e6fd2b3dace3d7c3b (diff) |
A lot of changes again
Diffstat (limited to 'src/application/views/template_end.php')
-rw-r--r-- | src/application/views/template_end.php | 8 |
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> |