fixed GH #1456: better handle leap seconds in Poco::DateTime and Poco::LocalDateTime

This commit is contained in:
Guenter Obiltschnig
2016-10-17 19:05:53 +02:00
parent 69d632810e
commit 8290da2a82
5 changed files with 20 additions and 9 deletions

View File

@@ -103,7 +103,7 @@ public:
/// * day is from 1 to 31.
/// * hour is from 0 to 23.
/// * minute is from 0 to 59.
/// * second is from 0 to 59.
/// * second is from 0 to 60 (allowing leap seconds).
/// * millisecond is from 0 to 999.
/// * microsecond is from 0 to 999.
@@ -137,7 +137,7 @@ public:
/// * day is from 1 to 31.
/// * hour is from 0 to 23.
/// * minute is from 0 to 59.
/// * second is from 0 to 59.
/// * second is from 0 to 60 (allowing leap seconds).
/// * millisecond is from 0 to 999.
/// * microsecond is from 0 to 999.