From: Jay Belanger Date: Sun, 18 Nov 2012 03:59:00 +0000 (-0600) Subject: * calc/calc-forms.el (math-date-to-dt): Use integer date X-Git-Tag: emacs-24.3.90~173^2~18^2~64 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eef97f35c8d8a6983e30462d16b0c01297325b94;p=emacs.git * calc/calc-forms.el (math-date-to-dt): Use integer date when calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'. --- 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