Ticket #48 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
