Hello

I found this:

(use-modules (srfi srfi-19))
(define (str->date str) (string->date str "~d-~m-~Y"))
(define (date->str str) (date->string str "~d-~m-~Y"))

(date->str (time-utc->date (date->time-utc (str->date "01-01-2006"))))
-> "31-12-2005"

Is is a bug in leap second handling or is it a expected behavior?


-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: [EMAIL PROTECTED])
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Attachment: signature.asc
Description: Digital signature

Reply via email to