summaryrefslogtreecommitdiff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-20 02:32:53 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-20 02:32:53 +1100
commit78901785fd4416d7d4d54e9a46e2fd1f958658c3 (patch)
tree9774aadf3b9780938a696ac8f7ffc84fab7bcb3d /templates/thread.html
parente8bfdfd9c8ec971ef12314229d4e3f2eca4c24c7 (diff)
change times to local timezone before page render
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 3b1024d5..9195ada8 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -42,6 +42,10 @@
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
{{ body }}
+ {% if config.javascript_local_time %}
+ <script>{% raw %}init_localtime();{% endraw %}</script>
+ {% endif %}
+
<div class="delete">
{% trans %}Delete Post{% endtrans %} [<input title="Delete file only" type="checkbox" name="file" id="delete_file" />
<label for="delete_file">{% trans %}File{% endtrans %}</label>] <label for="password">{% trans %}Password{% endtrans %}</label>