Skip to content

dates for config(locale = "nl") #2490

@RianneLam96

Description

@RianneLam96

When using config(locale = "nl") (Dutch) for data with dates, the month march is shown with the abbreviation "maa". In Dutch the default abbreviation of March is "mrt".

dates <- as.Date(c("2026-01-01", "2026-03-04", "2026-05-03", "2026-08-05", "2026-10-02"))
values <- c(10, 15, 7, 12, 9)
df <- data.frame(date = dates, value = values)

plot_ly(df, x = ~date, y = ~value, type = "scatter", mode = "lines+markers") %>% layout( xaxis = list(title = "Date"), yaxis = list(title = "Value") ) %>% config(locale = "nl")

When I look in plotly-locale-nl.js in shortMonths:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"], it is "mrt". So I cannot pinpoint where it is being altered to "maa". Is this something that can be fixed?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions