emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26331: closed (numerical timezones require hardwir


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26331: closed (numerical timezones require hardwiring)
Date: Mon, 02 Oct 2017 06:30:02 +0000

Your message dated Sun, 1 Oct 2017 23:29:14 -0700
with message-id <address@hidden>
and subject line Re: numerical timezones require hardwiring
has caused the debbugs.gnu.org bug report #26331,
regarding numerical timezones require hardwiring
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26331
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]