time_t

Graham Leggett minfrin at sharp.fm
Wed Jul 16 17:57:34 EDT 2008


Derek Atkins wrote:

> This is where the "implicit TZ" comes in.  For example, what's
> the difference between "2008-04-10 18:02:00 -0400" and
> "2008-04-10 15:02:00 -0700"?   I would argue that there *is* no
> difference.  Both timestamps are talking about the exact same time.
> And hey look, they both say "2008-04-10".  Lookie there!

Try the string "2008-04-11 00:02:00 +0200". Same timestamp. Different date.

The idea of an implicit timezone is nice in theory, but it comes with 
the responsibility of ensuring that the timezone is respected correctly 
everywhere a date is used. Practically, this just isn't going to happen, 
which means the bug will keep coming back.

Regards,
Graham
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3287 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080716/f4ee43b8/attachment.bin 


More information about the gnucash-devel mailing list