mirror of
https://github.com/nikolaydubina/calendarheatmap.git
synced 2024-12-05 03:58:50 +02:00
nits
This commit is contained in:
parent
155466daf9
commit
d846457036
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user