fix datetime reference in shiny_plot