0.12.22 timezone in chat messages
This commit is contained in:
@@ -134,6 +134,14 @@
|
||||
|
||||
{% include 'blocks/b_footer.html' %}
|
||||
|
||||
<script>
|
||||
let tz = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
||||
if (!tz) {
|
||||
tz = "UTC"
|
||||
}
|
||||
document.cookie = "user_tz=" + tz + ";path=/";
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user