🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/1327
**Author:** [@CtByte](https://github.com/CtByte)
**Created:** 3/7/2025
**Status:** ✅ Merged
**Merged:** 3/8/2025
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `master` ← **Head:** `timezone`
---
### 📝 Commits (1)
- [`7e62ff4`](https://github.com/LGUG2Z/komorebi/commit/7e62ff423b914ae8ab136bd8f3d156647ba27736) feat(bar): added timezone to time and date widgets
### 📊 Changes
**6 files changed** (+165 additions, -8 deletions)
<details>
<summary>View changed files</summary>
📝 `Cargo.lock` (+75 -0)
📝 `Cargo.toml` (+1 -0)
📝 `komorebi-bar/Cargo.toml` (+1 -0)
📝 `komorebi-bar/src/date.rs` (+32 -3)
📝 `komorebi-bar/src/time.rs` (+32 -5)
📝 `schema.bar.json` (+24 -0)
</details>
### 📄 Description
This commit adds a new setting on the time and date widgets to set the timezone.
In case the timezone is invalid, the time is replaced with an error message.

Use a custom format to display additional information.

```json
{
"Time": {
"enable": true,
"format": { "Custom": "%T %Z (Tokyo)" },
"timezone": "Asia/Tokyo"
}
}
```

```json
{
"Date": {
"enable": true,
"format": { "Custom": "%H:%M %e %b %Z (Tokyo)" },
"timezone": "Asia/Tokyo"
}
}
```
Closes: #1312
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1327
Author: @CtByte
Created: 3/7/2025
Status: ✅ Merged
Merged: 3/8/2025
Merged by: @LGUG2Z
Base:
master← Head:timezone📝 Commits (1)
7e62ff4feat(bar): added timezone to time and date widgets📊 Changes
6 files changed (+165 additions, -8 deletions)
View changed files
📝
Cargo.lock(+75 -0)📝
Cargo.toml(+1 -0)📝
komorebi-bar/Cargo.toml(+1 -0)📝
komorebi-bar/src/date.rs(+32 -3)📝
komorebi-bar/src/time.rs(+32 -5)📝
schema.bar.json(+24 -0)📄 Description
This commit adds a new setting on the time and date widgets to set the timezone.
In case the timezone is invalid, the time is replaced with an error message.
Use a custom format to display additional information.
Closes: #1312
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.