GNU bug report logs - #26331
numerical timezones require hardwiring

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 1 Apr 2017 12:28:01 UTC

Severity: wishlist

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#26331: closed (Re: numerical timezones require hardwiring)
Date: Mon, 02 Oct 2017 06:30:02 +0000
[Message part 1 (text/plain, inline)]
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 26331 <at> debbugs.gnu.org.

-- 
26331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26331
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 26331-done <at> debbugs.gnu.org
Subject: Re: numerical timezones require hardwiring
Date: Sun, 1 Oct 2017 23:29:14 -0700
Since this problem seems to be solved, I am closing the bug report.

[Message part 3 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
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.



This bug report was last modified 7 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.