Project

General

Profile

Actions

Bug #11955

closed

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

Added by Matthias Van Ceulebroeck over 2 years ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
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 over 2 years ago

  • Target version changed from 4.10.2 to 4.10.3
Actions #2

Updated by Matthias Van Ceulebroeck over 1 year ago

  • Target version changed from 4.10.3 to 4.11.1
Actions #3

Updated by Matthias Van Ceulebroeck over 1 year ago

  • Target version changed from 4.11.1 to 4.11.3
Actions #4

Updated by Romain Mardulyn over 1 year ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #5

Updated by Romain Mardulyn over 1 year ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #6

Updated by Matthias Van Ceulebroeck about 1 year ago

  • Target version changed from 4.11.3 to 4.11.4
Actions #7

Updated by Matthias Van Ceulebroeck 12 months ago

  • Target version changed from 4.11.4 to 4.12.0
Actions #8

Updated by Matthias Van Ceulebroeck 9 months ago

  • Target version changed from 4.12.0 to 4.12.1
Actions #9

Updated by Matthias Van Ceulebroeck 8 months ago

  • Target version changed from 4.12.1 to 4.12.3
Actions #10

Updated by Romain Mardulyn about 1 month ago

  • Target version changed from 4.12.3 to 4.12.4
Actions #11

Updated by Romain Mardulyn about 1 month ago

  • Target version changed from 4.12.4 to 4.12.6
Actions #12

Updated by Romain Mardulyn 25 days ago

  • Assignee set to Raf Pauwels
Actions #13

Updated by Raf Pauwels 22 days ago

  • Status changed from Review to InProgress
  • Assignee changed from Raf Pauwels to Romain Mardulyn
Actions #14

Updated by Raf Pauwels 21 days ago

  • Status changed from InProgress to Review
  • Assignee changed from Romain Mardulyn to Raf Pauwels
Actions #15

Updated by Raf Pauwels 21 days ago

  • Status changed from Review to Resolved
  • Assignee changed from Raf Pauwels to Romain Mardulyn
Actions #16

Updated by Romain Mardulyn 21 days ago

  • Status changed from Resolved to Implemented @Emweb
Actions #17

Updated by Romain Mardulyn 17 days ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF