hmis-analyst / shiny-apps-oracle

Shiny apps for the Data Analyst project
4 stars 1 forks source link

Date Range Format #7

Open jtoder opened 10 years ago

jtoder commented 10 years ago

The date format in the date range is required to be mm/dd/yyyy. However, the app allows a date entry of mm/dd/yy without indicating that it’s an error, but then yields incorrect results. It looks like an incorrect format in the "from" date ends up pointing to data for the wrong program (the same one each time, no matter what incorrect date is input) and a bad format in the "to" date ends up with zeroes in everything.

I think it would be good to either (a) have an error message about the dates if they’re input incorrectly or (b) actually prevent an incorrect format or (c) allow year to be input in 2-digit format.