[darcs-users] Date match syntax not timezone-aware?

Alexander Staubo alex at purefiction.net
Fri Jul 27 19:16:56 UTC 2007


I have a patch like this:

Thu Jul 26 03:57:59 CEST 2007  Alexander Staubo <alex at purefiction.net>
  * Something or the other.

Unexpectedly, the following command returns this patch:

$ darcs changes --to-match='date "before 2007-07-26T03:57:59+02:00"'

It doesn't matter what I put in the timezone part -- apparently the
time zone is ignored. This, however, returns the patch:

$ darcs changes --to-match='date "before 2007-07-26T01:57:59+02:00"'

Since 03:57 CEST is 01:57 UTC, it would seem that is interpreting the
date as UTC.

I got this syntax from the ISO 8601 document
(http://www.w3.org/TR/NOTE-datetime) linked to from the Darcs manual.
Am I doing something wrong?

Alexander.



More information about the darcs-users mailing list