Closed OpenESignForms closed 8 years ago
Noted that if we enter the date 04/25/1965, all is ok, but if we enter 04/26/1965, it loses a day.
This occurs up to 10/31/1965 being wrong, but 11/01/1965 is fine.
We do not note this for any other years, so it's unclear why/how DST affects the dates.
Transition points where bug appears: 04/25/1965 - okay 04/26/1965 - loses a day ... 10/31/1965 - loses a day 11/01/1965 - okay
and
04/24/1966 - okay 04/25/1966 - loses a day ... 10/30/1996 - loses a day 10/31/1996 - okay
Fixed to parse input dates directly to GMT noon rather than attempt to adjust based on DST transitions in the Java Date/Calendar libraries.
Noted that if we enter the date 04/25/1965, all is ok, but if we enter 04/26/1965, it loses a day.
This occurs up to 10/31/1965 being wrong, but 11/01/1965 is fine.
We do not note this for any other years, so it's unclear why/how DST affects the dates.
Transition points where bug appears: 04/25/1965 - okay 04/26/1965 - loses a day ... 10/31/1965 - loses a day 11/01/1965 - okay
and
04/24/1966 - okay 04/25/1966 - loses a day ... 10/30/1996 - loses a day 10/31/1996 - okay