Subject: bug#26331: closed (Re: numerical timezones require hardwiring)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 02 Oct 2017 06:30:02 +0000

Your bug report

#26331: numerical timezones require hardwiring

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26331
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: numerical timezones require hardwiring
From: Paul Eggert <[email-masked]>
To: [email-masked]
Date: Sun, 1 Oct 2017 23:29:14 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Since this problem seems to be solved, I am closing the bug report.

Subject: numerical timezones require hardwiring
From: 積丹尼 Dan Jacobson <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Date: Sat, 01 Apr 2017 20:26:42 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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.