Why python time has 61 seconds

后端 未结 5 2081
逝去的感伤
逝去的感伤 2021-01-04 03:57

Did anybody notice that the interval of second in Python datetime is [00,61] see the table in the bottom of this page. http://docs.python.org/library/datetime.html#strftime-

5条回答
  •  长发绾君心
    2021-01-04 04:47

    There is no such thing as a double leap second. There cannot be 62 seconds in a minute. 59, yes. 60, yes. 61, yes. 62, no.

    http://www.monkey.org/openbsd/archive2/tech/199905/msg00031.html

提交回复
热议问题