+2007-06-22 Jay Belanger <jay.p.belanger@gmail.com>
+
+ * calc/calc-forms.el (math-format-date-part)
+ (calc-parse-standard-date,calcFunc-julian): Fix incorrect number
+ used in calculations.
+
2007-06-22 Thien-Thi Nguyen <ttn@gnuvola.org>
* simple.el (next-error-recenter): New defcustom.
(math-format-number
(math-add math-fd-date
(eval-when-compile
- (math-read-number-simple "1.7214235")))))
+ (math-read-number-simple "1721423.5")))))
((eq x 'j)
(math-format-number (math-add
(math-floor math-fd-date)
(eval-when-compile
(math-read-number-simple "1721424"))
(eval-when-compile
- (math-read-number-simple "1.7214235")))))
+ (math-read-number-simple "1721423.5")))))
hour (or (nth 3 num) hour)
minute (or (nth 4 num) minute)
second (or (nth 5 num) second)
(math-read-number-simple "1721424")))
(setq date (math-sub date
(eval-when-compile
- (math-read-number-simple "1.7214235"))))
+ (math-read-number-simple "1721423.5"))))
(math-sub date (math-div (calcFunc-tzone zone date)
'(float 864 2)))))
(if (eq (car date) 'date)
(math-read-number-simple "1721424"))
(math-add
(eval-when-compile
- (math-read-number-simple "1.7214235"))
+ (math-read-number-simple "1721423.5"))
(math-div (calcFunc-tzone zone date)
'(float 864 2)))))
(math-reject-arg date 'datep))))