Actions
Bug #11955
openDiscrepancy between Wt WDate::daysTo and jWt WDate::getDaysTo
Start date:
09/18/2023
Due date:
% Done:
0%
Estimated time:
Description
Suppose we have two timestamps, that are 23 hours and 59 minutes apart, but fall on different dates.
On Wt, this will result in a daysTo == 1
, but on jWt this will result in getDaysTo == 0
. This is because Wt looks at the actual dates, and will report a difference if the two dates fall on different dates.
However, jWt will compare two timestamps and only return 1 if they are at least 24 hours apart.
Updated by Matthias Van Ceulebroeck about 1 year ago
- Target version changed from 4.10.2 to 4.10.3
Updated by Matthias Van Ceulebroeck 3 months ago
- Target version changed from 4.10.3 to 4.11.1
Updated by Matthias Van Ceulebroeck about 1 month ago
- Target version changed from 4.11.1 to 4.11.3
Actions