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