[darcs-devel] [issue220] missing inventories file in repo for darcs project

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Thu Jul 13 11:15:31 PDT 2006


> I've got the file
>
>   20030921115726-53a90-7d65b741dd9d81ff290ee5423046dd53f783a180.gz
             ^
>
> but with your recent changes, it's trying to open
>
>   20030921155726-53a90-7d65b741dd9d81ff290ee5423046dd53f783a180.gz
             ^
>
> Obviously, your cleanDate changes are the culprit.

Sorry for the cryptical message, I was concentrating on the code and
forgot to switch to human-to-human I/O mode.  The problem is the digit
``1'' underlined above, which has become a ``5''.  If you look at
showIsoDateTime in IsoDate, you'll notice that this is the last digit
of the hour, which means that the new Darcs is formatting dates with a
four hour offset with respect to the old Darcs.

Eric, I think you're going to have to implement two versions of
cleanDate: one that uses GMT (UTC, whatever) for on-disk structures,
and one that uses local time for human interaction.  But I don't
understand why the offset is four hours (I'm at GMT+2).

                                        Juliusz




More information about the darcs-devel mailing list