From eef97f35c8d8a6983e30462d16b0c01297325b94 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Sat, 17 Nov 2012 21:59:00 -0600 Subject: [PATCH] * calc/calc-forms.el (math-date-to-dt): Use integer date when calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'. --- lisp/ChangeLog | 5 +++++ lisp/calc/calc-forms.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0bd5fe0a149..fdcde1dde0f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-11-18 Jay Belanger + + * calc/calc-forms.el (math-date-to-dt): Use integer date when + calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'. + 2012-11-18 Glenn Morris * image.el (insert-image, insert-sliced-image): Doc fix. diff --git a/lisp/calc/calc-forms.el b/lisp/calc/calc-forms.el index d1df20c697c..709250f9ba9 100644 --- a/lisp/calc/calc-forms.el +++ b/lisp/calc/calc-forms.el @@ -443,8 +443,8 @@ in the Gregorian calendar and the remaining part determines the time." (nth 3 calc-gregorian-switch) (apply 'math-absolute-from-gregorian-dt calc-gregorian-switch)) )) - (math-date-to-julian-dt value) - (math-date-to-gregorian-dt value)))) + (math-date-to-julian-dt date) + (math-date-to-gregorian-dt date)))) (if (math-integerp value) dt (append dt -- 2.39.5