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

Consider upgrading Air-datepicker to 3.4.0 #668

Closed
Mkranj opened this issue Feb 21, 2024 · 2 comments
Closed

Consider upgrading Air-datepicker to 3.4.0 #668

Mkranj opened this issue Feb 21, 2024 · 2 comments

Comments

@Mkranj
Copy link

Mkranj commented Feb 21, 2024

More specifically, I would like to use the Croatian locale for accurate day/month names. This translation is already included in the 3.4.0 version of the JS package.

Could this be upgraded in shinyWidgets? From what I see, the current version is 3.2.0.

@pvictor
Copy link
Member

pvictor commented Feb 21, 2024

Sure, re-install from GitHub then you can use :

library(shiny)
library(shinyWidgets)

ui <- fluidPage(
  airDatepickerInput(
    inputId = "ID",
    label = "In croatian :",
    language = "hr",
    clearButton = TRUE, 
    todayButton = TRUE
  )
)

server <- function(input, output, session) {
  
}

shinyApp(ui, server)

Victor

@Mkranj
Copy link
Author

Mkranj commented Feb 22, 2024

Thank you very, very much!

@Mkranj Mkranj closed this as completed Feb 22, 2024
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

No branches or pull requests

2 participants