diff options
Diffstat (limited to 'modules_v3/html')
| -rw-r--r-- | modules_v3/html/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php index 97b1f22bea..26222b087c 100644 --- a/modules_v3/html/module.php +++ b/modules_v3/html/module.php @@ -106,7 +106,7 @@ class html_WT_Module extends WT_Module implements WT_Module_Block { $content = $html; if (get_block_setting($block_id, 'show_timestamp', false)) { - $content.='<br>'.format_timestamp(get_block_setting($block_id, 'timestamp', time())); + $content.='<br>'.format_timestamp(get_block_setting($block_id, 'timestamp', WT_TIMESTAMP)); } if ($template) { @@ -315,7 +315,7 @@ class html_WT_Module extends WT_Module implements WT_Module_Block { echo WT_I18N::translate('Show the date and time of update'); echo '</td><td class="optionbox">'; echo edit_field_yes_no('show_timestamp', $show_timestamp); - echo '<input type="hidden" name="timestamp" value="'.time().'">'; + echo '<input type="hidden" name="timestamp" value="', WT_TIMESTAMP, '">'; echo '</td></tr>'; $languages=get_block_setting($block_id, 'languages'); |
