From 6b6c408100f534f56f72f890a994d64dacbbac8f Mon Sep 17 00:00:00 2001 From: boggs <6130147+b-ggs@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:34:33 +0800 Subject: [PATCH] Add swiftbar thing for BKK --- swiftbar/thailand.3h.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 swiftbar/thailand.3h.py diff --git a/swiftbar/thailand.3h.py b/swiftbar/thailand.3h.py new file mode 100755 index 0000000..77fa1bd --- /dev/null +++ b/swiftbar/thailand.3h.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python3 + +from datetime import datetime + +target_date = datetime(2024, 3, 21) +current_date = datetime.now() +days_remaining = (target_date - current_date).days + +print(f"BKK in {days_remaining} days")