mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-22 08:38:35 +02:00
changes
This commit is contained in:
12
app/templates/admin/base_site.html
Normal file
12
app/templates/admin/base_site.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "admin/base_site.html" %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ block.super }}
|
||||
<script>
|
||||
let tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
if (!tz) {
|
||||
tz = "UTC"
|
||||
}
|
||||
document.cookie = "mytz=" + tz + ";path=/";
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user