--- Begin Message ---
Subject: |
numerical timezones require hardwiring |
Date: |
Sat, 01 Apr 2017 20:26:42 +0800 |
If the user wants numerical timezones in his timestamps, there is no
other way than hardwiring them in:
(add-hook 'before-save-hook 'time-stamp)
(eval-after-load 'sgml-mode
'(add-hook
'html-mode-hook
(lambda ()
(set (make-local-variable 'time-stamp-pattern)
"-8/>Last modified: %Y-%02m-%02d %02H:%02M:%02S \\+0800")
(set (make-local-variable 'time-stamp-time-zone) "Asia/Taipei"))))
P.S., it is not clear how one can make
(add-hook 'before-save-hook 'time-stamp)
html-mode specific too.
--- End Message ---
--- Begin Message ---
Subject: |
Re: numerical timezones require hardwiring |
Date: |
Sun, 1 Oct 2017 23:29:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
Since this problem seems to be solved, I am closing the bug report.
--- End Message ---