dates for config(locale = "nl")
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
config(locale = "nl") のパスから始め、日付軸のフォーマットを plotly-locale-nl.js と比較します。特に、その shortMonths の値を確認します。提供された plotly の例を再現し、"mrt" が "maa" になる箇所を追跡します。オランダ語の日付軸に期待される 3 月の略称が表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, r
- 領域
- data-visualization, internationalization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100