I have dateInput
in my ui.R
as follows:
dateInput("asOfDateTime", label = "As Of", value = Sys.Date(), max = Sys.Date())
For 2015-05-15
this gives dateInput
a default value 2015-05-14
.
However, when I run Sys.Date()
the console on 2015-05-15
, I get the correct value 2015-05-15
.
Why is Shiny giving a date in my app yesterday?
source
share