Date format

Benoit Boissinot bboissin at gmail.com
Tue Jun 27 02:25:57 CDT 2006


On 6/27/06, konrad.hinsen at laposte.net <konrad.hinsen at laposte.net> wrote:
> I have spent some time figuring out how to specify a date for
> mercurial, but I haven't made much progress. After anything I could
> come up with failed, I looked at the source (changelog.py) and noted
> that a date specification consists of two integers separated by white
> space, and that the two integers are subject to numerical constraints
> whose meaning is not clear to me.
>
> Could someone please give me a working example?
>

Quoting dduvall in issue251:
> When passing an argument to, say, commit --date, the argument needs to be two
> numbers -- the number of seconds since the epoch, and the timezone offset in
> seconds.

It is planned (see issue251) to be able to specify a simpler date format.

regards,

Benoit


More information about the Mercurial mailing list