Project

General

Profile

Actions

Bug #11955

open

Discrepancy between Wt WDate::daysTo and jWt WDate::getDaysTo

Added by Matthias Van Ceulebroeck about 1 year ago. Updated about 23 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
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.

Actions #1

Updated by Matthias Van Ceulebroeck 12 months ago

  • Target version changed from 4.10.2 to 4.10.3
Actions #2

Updated by Matthias Van Ceulebroeck 2 months ago

  • Target version changed from 4.10.3 to 4.11.1
Actions #3

Updated by Matthias Van Ceulebroeck about 23 hours ago

  • Target version changed from 4.11.1 to 4.11.3
Actions

Also available in: Atom PDF