From 055103e26d3d6f436abd4807a2953085f0cebdc4 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Thu, 3 Aug 2023 01:39:08 -0400 Subject: [PATCH] fix: correct timezone in khal.py script --- wayland/waybar/scripts/khal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland/waybar/scripts/khal.py b/wayland/waybar/scripts/khal.py index 43b055d8d..74f291115 100755 --- a/wayland/waybar/scripts/khal.py +++ b/wayland/waybar/scripts/khal.py @@ -26,6 +26,7 @@ def json(self) -> str: "khal list now 7days --format " '"{start-end-time-style} {title} ({categories})"', shell=True, + env={"TZ": "Asia/Tehran"}, ).decode("utf-8") except FileNotFoundError: exit(1)