Doc error for Time::formatted

Hi,

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

Cheers

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

2 Likes

Well, I learnt something new today!

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

1 Like

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.

3 Likes

so i was right :wink:

1 Like