mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
[SF 2804457] DateTime::checkLimit looks wrong
This commit is contained in:
@@ -340,7 +340,7 @@ void DateTime::checkLimit(short& lower, short& higher, short limit)
|
||||
if (lower > limit)
|
||||
{
|
||||
higher += short(lower / limit);
|
||||
lower = short(lower % limit);
|
||||
lower = short((lower % limit) - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user