Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sliderInput with date format #689

Closed
kismsu opened this issue Jan 15, 2015 · 2 comments · Fixed by #885
Closed

sliderInput with date format #689

kismsu opened this issue Jan 15, 2015 · 2 comments · Fixed by #885
Milestone

Comments

@kismsu
Copy link

kismsu commented Jan 15, 2015

Hi, based on http://ionden.com/a/plugins/ion.rangeSlider/demo_advanced.html new sliderInput should work with date format, however I don't think it is working at moment.

runApp(list(
    ui = basicPage(
        sliderInput('foo1', 'How many days after today?', min = Sys.Date() -10, 
                           max = Sys.Date(), value = Sys.Date() - 1)
    ),
    server = function(input, output, session) {
    }
))

Returned an error

Error in `/.difftime`(n_steps, scale_factor) : 
  second argument of / cannot be a "difftime" object

Do have in mind to implement it?

@wch
Copy link
Collaborator

wch commented Jan 15, 2015

Right, it's not implemented in Shiny yet. But we hope to do that in a future version of Shiny.

@edbarbaro
Copy link

It would be useful to have that functionality! Looking forward to it

@wch wch added this to the 0.12.1 milestone Jun 1, 2015
@wch wch mentioned this issue Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants