diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-02-20 02:32:53 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-02-20 02:32:53 +1100 |
| commit | 78901785fd4416d7d4d54e9a46e2fd1f958658c3 (patch) | |
| tree | 9774aadf3b9780938a696ac8f7ffc84fab7bcb3d /templates/index.html | |
| parent | e8bfdfd9c8ec971ef12314229d4e3f2eca4c24c7 (diff) | |
change times to local timezone before page render
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 835ca1d9..8a9e32fa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -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>
|
