summaryrefslogtreecommitdiff
path: root/src/application/views/template_end.php
blob: 27fc3ba79e7908fca7a81c489dcd1b8fbdf4c9b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</div>
<footer class="footer">
<div class="container">
<div class="panel panel-default">
<div class="panel-body">
    &copy; <?= date("Y") ?>
</div>
</div>
</div>
</footer>

<script>
$(function() {
    $("._time").each(function(i, e) {
        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>

</body>
</html>