Doc error for Time::formatted


#1

Hi,

S is replaced by the second as a decimal number [00,61].

Cheers


#2

0-61 seconds is the correct range to account for leap seconds.


#3

Well, I learnt something new today!


#4

Interesting… That explains the 60, what stands the 61 for? :wink:


#5

Apparently for the elusive ‘double leap second’. Although the linux man page for strftime seems to indicate that this is out of date, I’ll update the docs accordingly.


#6

so i was right :wink: