[Bese-devel] minor fix : timezone NIL must be a rational multiple of 1/3600 in the range -24 to 24
Mac Chan
emailmac at gmail.com
Mon Oct 17 01:36:08 UTC 2005
I got this error when loading the example form
timezone NIL must be a rational multiple of 1/3600 in the range -24 to 24
Index: time-element.lisp
===================================================================
--- time-element.lisp (revision 326)
+++ time-element.lisp (working copy)
@@ -251,7 +251,7 @@
(defmethod format-lisp-value ((e time-element) value)
(multiple-value-bind (second minute hour day month year d dlp zone)
(decode-universal-time (or value 0)
- (lisp-value (slot-value e 'zone)))
+ (or (lisp-value (slot-value e 'zone)) 0))
(declare (ignore d dlp))
(let ((ampm (unless (hour24p e) (if (> hour 12) 'pm 'am))))
More information about the bese-devel
mailing list