1
0
mirror of https://github.com/nikolaydubina/calendarheatmap.git synced 2024-12-05 03:58:50 +02:00
This commit is contained in:
Nikolay 2021-02-27 16:18:23 +00:00 committed by GitHub
parent 155466daf9
commit d846457036

View File

@ -52,9 +52,9 @@ func writeSVG(conf HeatmapConfig, w io.Writer) {
}
}
locale := "en_US"
if conf.Locale != "" {
locale = conf.Locale
locale := conf.Locale
if locale == "" {
locale = "en_US"
}
labelsProvider := NewLabelsProvider(locale)