diff lisp/calendar/lunar.el @ 7777:c48a233494e1

(lunar-phase): Revised to use the rewritten and new fcns.
author Edward M. Reingold <reingold@emr.cs.iit.edu>
date Fri, 03 Jun 1994 20:25:44 +0000
parents 4edcac57a8f2
children d62e29b1d7a2
line wrap: on
line diff
--- a/lisp/calendar/lunar.el	Fri Jun 03 17:10:42 1994 +0000
+++ b/lisp/calendar/lunar.el	Fri Jun 03 20:25:44 1994 +0000
@@ -166,8 +166,9 @@
                                 (truncate date)))))
 			  60.0 24.0)))
          (time (* 24 (- date (truncate date))))
-	 (date (calendar-gregorian-from-absolute (truncate date))))
-    (list date (solar-time-string time date) phase)))
+	 (date (calendar-gregorian-from-absolute (truncate date)))
+         (adj (solar-adj-time-for-dst date time)))
+    (list (car adj) (apply 'solar-time-string (cdr adj)) phase)))
 
 (defun lunar-phase-name (phase)
   "Name of lunar PHASE.