[local-time-devel] TIMESTAMP+ doesn't work correcly when adding months

Chaitanya Gupta mail at chaitanyagupta.com
Sun Apr 5 16:36:18 UTC 2009


Hi,

There seems to be a bug in TIMESTAMP+ -- it doesn't work correctly while 
adding months. e.g.

(local-time:timestamp+ (local-time:encode-timestamp 0 0 0 0 1 3 2009) 1 
:month)
=> @2009-03-29T00:00:00.000000+05:30

I would have expected this to return
@2009-04-01T00:00:00.000000+05:30

Cheers,
Chaitanya

-- 
http://chaitanyagupta.com/blog/




More information about the local-time-devel mailing list