i3 / i3/i3status

tztime format_time stopped working?

Open
#491 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
653
Forks
254
PR merge metrics
No merged PRs in 30d

Description

I just recently upgraded from 2.13 to 2.14 and I'm finding that my tztime stanzas that use format `%time` and format_time have stopped working whereas the stanza that just uses `format` is still working.

```
order += "tztime yul"
order += "tztime dub"
order += "tztime ber"
order += "tztime hel"
order += "tztime local"
```

```
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}

tztime yul {
format = "🏴󠁣󠁡󠁱󠁣󠁿%time"
format_time = "%-H:%M"
timezone = "America/Montreal"
hide_if_equals_localtime = true
}
tztime ber {
format = "🇩🇪%time"
format_time = "%-H:%M"
timezone = "Europe/Berlin"
hide_if_equals_localtime = true
}
tztime dub {
format = "🇮🇪%time"
format_time = "%-H:%M"
timezone = "Europe/Dublin"
hide_if_equals_localtime = true
}
tztime hel {
format = "🇫🇮%time"
format_time = "%-H:%M"
timezone = "Europe/Helsinki"
hide_if_equals_localtime = true
}
```

Is producing:

```
🔋99.97% | | 📡 81% 302 5 Ghz | 🔗1000 Mbit/s | | DNS ✅✅✅ 20ms | | | | | | 0.41 | 🌡52°C | 51.9 GiB | | %-H:%M | %-H:%M | %-H:%M | 2022-06-29 12:17:30
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.