mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 15:45:55 +02:00
fix exception message
This commit is contained in:
parent
b4c62584c7
commit
e59fba4ddd
@ -74,7 +74,7 @@ DateTime::DateTime(int otherYear, int otherMonth, int otherDay, int otherHour, i
|
||||
throw Poco::InvalidArgumentException(Poco::format("Date time is %d-%d-%dT%d:%d:%d:%d:%d\n"
|
||||
"Valid values:\n"
|
||||
"0 <= year <= 9999\n"
|
||||
"1 <= year <= 12\n"
|
||||
"1 <= month <= 12\n"
|
||||
"1 <= day <= %d\n"
|
||||
"0 <= hour <= 23\n"
|
||||
"0 <= minute <= 59\n"
|
||||
@ -175,7 +175,7 @@ DateTime& DateTime::assign(int otherYear, int otherMonth, int otherDay, int othe
|
||||
throw Poco::InvalidArgumentException(Poco::format("Date time is %d-%d-%dT%d:%d:%d:%d:%d\n"
|
||||
"Valid values:\n"
|
||||
"0 <= year <= 9999\n"
|
||||
"1 <= year <= 12\n"
|
||||
"1 <= month <= 12\n"
|
||||
"1 <= day <= %d\n"
|
||||
"0 <= hour <= 23\n"
|
||||
"0 <= minute <= 59\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user