[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Agenda Bulk Scatter bug
From: |
Nick Dokos |
Subject: |
Re: [O] Agenda Bulk Scatter bug |
Date: |
Fri, 10 Jun 2011 15:51:23 -0400 |
Achim Gratz <address@hidden> 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
- [O] Agenda Bulk Scatter bug, Robert Cunningham, 2011/06/04
- Re: [O] Agenda Bulk Scatter bug, Christian Egli, 2011/06/08
- Re: [O] Agenda Bulk Scatter bug, Carsten Dominik, 2011/06/10
- Re: [O] Agenda Bulk Scatter bug, Achim Gratz, 2011/06/10
- Re: [O] Agenda Bulk Scatter bug,
Nick Dokos <=
- Re: [O] Agenda Bulk Scatter bug, Michael Brand, 2011/06/10
- Re: [O] Agenda Bulk Scatter bug, Robert Cunningham, 2011/06/11