mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 06:17:15 +01:00
[SF 2804457] DateTime::checkLimit looks wrong
This commit is contained in:
parent
60fc5b6e28
commit
5245543642
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user