https://bz.mercurial-scm.org/show_bug.cgi?id=5442

            Bug ID: 5442
           Summary: Leap seconds not handled properly in commit time
           Product: Mercurial
           Version: 4.0.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@selenic.com
          Reporter: f...@tuttu.info
                CC: mercurial-de...@selenic.com

Hello,

The last minute of 2016 will have 61 seconds, this means that I should be able
to commit at that time: 

hg commit --date  '2016-12-31 23:59:60'

Actually, I can, but the date is wrong by 1 second:

changeset:   ...
tag:         ...
user:         ...
date:        Sun Jan 01 00:00:00 2017 +0100
summary:     ...


I should not be able to commit the day before at 23:59:60 :

hg commit --date  '2016-12-30 23:59:60' -> should yield an error !

changeset:   ...
tag:         ...
user:        ...
date:        Sat Dec 31 00:00:00 2016 +0100
summary:     ...


Cheers,

Feth

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to