change times to local timezone before page render

This commit is contained in:
Michael Save
2012-02-20 02:32:53 +11:00
parent e8bfdfd9c8
commit 78901785fd
3 changed files with 9 additions and 1 deletions

View File

@@ -40,6 +40,11 @@
<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>