X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=sql%2Ftime.lisp;h=078e4aa5c39efe888bbfa539c3dc2afb46042d68;hb=0e0e260d3c6a995e46336c0b9b08ef19d941bb8b;hp=d97673310eb341a2a6bcefca859cfe8a3f5e872e;hpb=748f18aeaee5e0512317657a86f7a019f06e12de;p=clsql.git diff --git a/sql/time.lisp b/sql/time.lisp index d976733..078e4aa 100644 --- a/sql/time.lisp +++ b/sql/time.lisp @@ -938,7 +938,7 @@ with the given options" (let ((mjd (time-mjd date)) (sec (time-second date)) (usec (time-usec date))) - (multiple-value-bind (usec-new sec) + (multiple-value-bind (sec-new usec-new) (floor (+ usec (* 1000000 (+ sec second @@ -1129,7 +1129,7 @@ formatted date string." (defun syntax-parse-iso-8601 (string) ;; use strlen to determine if fractional seconds are present in timestamp (let ((strlen (length string)) - year month day hour minute second gmt-sec-offset) + year month day hour minute second usec gmt-sec-offset) (handler-case (progn (setf year (parse-integer string :start 0 :end 4)