Open scrudden opened 9 years ago
Just a problem, in the JSP predAccuracyCSV.jsp when formatting date in sql. Can use Time.parse on start and end dates from form and set these as parameters to the query rather than just appending text.
Have changed all instances where string dates where used in reports to ? parameters in branch issue_13 on my fork. Will rebase this and send pull request over weekend.
Reports use dates in ISO, MDY format for the date fields. If you set up a postgres database it uses lc_time locale behaviours as the default which in Ireland expects ISO, DMY.
From the postgres docs
The built-in default is ISO, MDY, but initdb will initialize the configuration file with a setting that corresponds to the behavior of the chosen lc_time locale.