change times to local timezone before page render
This commit is contained in:
parent
e8bfdfd9c8
commit
78901785fd
@ -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>
|
||||
|
@ -226,7 +226,6 @@ function init() {
|
||||
highlightReply(window.location.hash.substring(1));
|
||||
|
||||
{% endraw %}{% if config.inline_expanding %}{% raw %}init_expanding();{% endraw %}{% endif %}{% raw %}
|
||||
{% endraw %}{% if config.javascript_local_time %}{% raw %}init_localtime();{% endraw %}{% endif %}{% raw %}
|
||||
}
|
||||
|
||||
var RecaptchaOptions = {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user