Ticket #48 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

QCalendarPopup returns incorect dates

Reported by: kmeirlaen Owned by: somebody
Priority: important Milestone: 1.0 RC1
Component: QForms Version: 1.0.0 RC1
Keywords: Cc:

Description

As described at:
 http://www.qcodo.com/forums/topic.php/2810/1/

The only correct way to use timestamps with QDateTime is to use QDateTime::FromTimestamp?.

QCalendarPopup however, uses new QDateTime($timestamp), causing incorrect dates to be stored.

Also, as described at:
 http://www.qcodo.com/forums/topic.php/2819/1/

QCalendarPopup incorrectly clears the time in the get for DateTime?.

Change History

Changed 5 years ago by kmeirlaen

  • status changed from new to closed
  • resolution set to fixed
  • component changed from Codegen to QForms

Changed 5 years ago by marcosdsanchez

  • milestone changed from 1.0.0 RC2 to 1.0.0 RC1

Changed 5 years ago by marcosdsanchez

  • version set to 1.0.0 RC1
Note: See TracTickets for help on using tickets.