RandomSec/main
Tom Morris 55edae2b7b
Fix ToDate test failure & inefficiency - fixes #3026 (#3027)
* Fix ToDate test failure - fixes #3026

Instead of computing offset from UTC at current
point in time, use the offset from the parsed
date so that we're not affected by crossing
a daylight savings time boundary.

* Fix date parsing with locale as first format string

Also refactors for simpicity, restore some dropped tests,
and restores previous behavior of considering a bad
format string an error instead of silently ignoring it.

It does NOT address another issue which was introduced
in May 2018 of treating date/times without timzone
information as UTC instead of local.

* Restore error checking and messages

* Save & restore default timezone for tests

Also add some ToDos for places where LocalDate is being misused.
2020-08-09 13:53:43 +02:00
..
IDEs/eclipse Thad no longer supports Netbeans config (#2466) 2020-03-27 09:30:30 +01:00
src Fix ToDate test failure & inefficiency - fixes #3026 (#3027) 2020-08-09 13:53:43 +02:00
tests Fix ToDate test failure & inefficiency - fixes #3026 (#3027) 2020-08-09 13:53:43 +02:00
webapp Translated using Weblate (Japanese) 2020-08-08 12:47:41 +02:00
pom.xml Speed up git commit extraction 2020-08-07 14:16:08 -04:00