diff options
| author | Edward M. Reingold | 1996-04-27 00:13:07 +0000 |
|---|---|---|
| committer | Edward M. Reingold | 1996-04-27 00:13:07 +0000 |
| commit | 2396dbcbdd306b91139e05334ffeefa88fc4c369 (patch) | |
| tree | 5d4d6c0fea7899d8ace1cee6edbe7b16544eadb3 | |
| parent | 2f8d25d5f1d9fae51ace43a4a783c2259e91b170 (diff) | |
| download | emacs-2396dbcbdd306b91139e05334ffeefa88fc4c369.tar.gz emacs-2396dbcbdd306b91139e05334ffeefa88fc4c369.zip | |
Double DST correction removed!
| -rw-r--r-- | lisp/calendar/solar.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/calendar/solar.el b/lisp/calendar/solar.el index 3a573620ab2..936f78501b1 100644 --- a/lisp/calendar/solar.el +++ b/lisp/calendar/solar.el | |||
| @@ -883,13 +883,11 @@ No diary entry if there is no sunset on that date." | |||
| 883 | (solar-setup)) | 883 | (solar-setup)) |
| 884 | (if (= (% (calendar-absolute-from-gregorian date) 7) 5);; Friday | 884 | (if (= (% (calendar-absolute-from-gregorian date) 7) 5);; Friday |
| 885 | (let* ((sunset (car (cdr (solar-sunrise-sunset date)))) | 885 | (let* ((sunset (car (cdr (solar-sunrise-sunset date)))) |
| 886 | (light (if sunset | 886 | (light (if sunset |
| 887 | (dst-adjust-time | 887 | (cons (- (car sunset) (/ 18.0 60.0)) (cdr sunset))))) |
| 888 | date | 888 | (if sunset |
| 889 | (- (car sunset) (/ 18.0 60.0)))))) | ||
| 890 | (if (and light (calendar-date-equal date (car light))) | ||
| 891 | (format "%s Sabbath candle lighting" | 889 | (format "%s Sabbath candle lighting" |
| 892 | (apply 'solar-time-string (cdr light))))))) | 890 | (apply 'solar-time-string light)))))) |
| 893 | 891 | ||
| 894 | (defun solar-equinoxes/solstices (k year) | 892 | (defun solar-equinoxes/solstices (k year) |
| 895 | "Date of equinox/solstice K for YEAR. | 893 | "Date of equinox/solstice K for YEAR. |