Achim Gratz <strom...@nexgo.de> wrote: > (version) > "GNU Emacs 23.2.1 (i586-suse-linux-gnu, GTK+ Version 2.22.1) > of 2011-06-07 on build40" > > (current-time) > (19954 27377 237772) > (time-to-days (current-time)) > 734298 > (days-to-time (time-to-days (current-time))) > (968068 42752) > ^^^^^^ > this doesn't fit into a 16bit integer... >
That's what I thought at first too, until I read David Edmondson's mail: He points out that decode-time assumes seconds since the Unix epoch whereas time-to-days calculates the offset in days since early CE, hence the calculation is off by 1970 years. I did a git blame on time-to-days and days-to-time and nothing seems to have changed recently, so I'd guess Carsten just misremembered. Nick