[PATCH v7] Allow commit date before Unix epoch, clean fix for (issue2513)
fgallaire at gmail.com
Fri Apr 8 12:03:54 EDT 2016
2016-04-08 17:18 GMT+02:00 Yuya Nishihara <yuya at tcha.org>:
>> date: reallow negative timestamp, fix for Windows buggy gmtime() (issue2513)
> Queued this version, many thanks!
Thank you !
>> + elif d < -0x7fffffff:
>> + d = -0x7fffffff
> Strictly speaking, -0x80000000 doesn't exceed 32bit signed integer, but
> this seems okay for consistency with parsedate(), which checks for
> abs(when) > 0x7fffffff.
For 1 second and the beauty of CS I made a new patch.
FLOSS Engineer & Lawyer
More information about the Mercurial-devel