projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec111c
)
Fix timezone east of GMT in Calv
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Jul 2019 22:04:55 +0000
(
00:04
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Jul 2019 22:06:06 +0000
(
00:06
+0200)
* lisp/calc/calc-forms.el (math-calendar-tzinfo): Make timezone
calculation work east of Greenwich. Fix proposed by David O'Shea
(bug#34075).
lisp/calc/calc-forms.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc-forms.el
b/lisp/calc/calc-forms.el
index fce82d2eaac77aa84cfa004223d477116a382c9b..8faeb0a9decacc047b2347550407bc8ec0321b2e 100644
(file)
--- a/
lisp/calc/calc-forms.el
+++ b/
lisp/calc/calc-forms.el
@@
-1491,7
+1491,7
@@
second, the number of seconds offset for daylight savings."
(calendar-current-time-zone)
calendar-current-time-zone-cache)))
(setq math-calendar-tzinfo
- (list (* 60 (
abs
(nth 0 tzinfo)))
+ (list (* 60 (
-
(nth 0 tzinfo)))
(* 60 (nth 1 tzinfo)))))))
(defun calcFunc-tzone (&optional zone date)