summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-forms.el
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2012-11-17 21:59:00 -0600
committerJay Belanger <jay.p.belanger@gmail.com>2012-11-17 21:59:00 -0600
commiteef97f35c8d8a6983e30462d16b0c01297325b94 (patch)
treef02df0216f21ce9b584ff0834ca68c09da49d36a /lisp/calc/calc-forms.el
parent552a1590c6bcb0cb5d2be38c2f5ae47d9e6bf1ae (diff)
downloademacs-eef97f35c8d8a6983e30462d16b0c01297325b94.tar.gz
* calc/calc-forms.el (math-date-to-dt): Use integer date
when calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
Diffstat (limited to 'lisp/calc/calc-forms.el')
-rw-r--r--lisp/calc/calc-forms.el4
1 files changed, 2 insertions, 2 deletions
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