diff options
| author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-10 00:04:55 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-07-10 00:06:06 +0200 |
| commit | 101dad2c150e7416c35f9ccf34dfbc6e3a6ccd32 (patch) | |
| tree | 54bd087623a87a34f227cdefe90e273a5c4c9d52 /lisp/calc | |
| parent | fec111c9ee7a248ac49ba1d6d62d3ef9473b7af9 (diff) | |
| download | emacs-101dad2c150e7416c35f9ccf34dfbc6e3a6ccd32.tar.gz | |
Fix timezone east of GMT in Calv
* lisp/calc/calc-forms.el (math-calendar-tzinfo): Make timezone
calculation work east of Greenwich. Fix proposed by David O'Shea
(bug#34075).
Diffstat (limited to 'lisp/calc')
| -rw-r--r-- | lisp/calc/calc-forms.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index fce82d2eaac..8faeb0a9dec 100644 --- 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) |
