feat: WITA-WIB-CET time

This commit is contained in:
ange 2024-11-05 14:59:02 +07:00
parent 769ee04d8b
commit 86440a8fae
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
7 changed files with 29 additions and 30 deletions

View file

@ -77,7 +77,7 @@ function update_net() {
}
function update_time() {
time="$(date '+%a %m-%d %R')"
time="$(TZ=Asia/Makassar date '+%a %m-%d %R %Z'); $(TZ=Asia/Jakarta date '+%R %Z'); $(TZ=Europe/Paris date '+%R %Z')"
}
function reload() {

View file

@ -1,6 +0,0 @@
#!/bin/bash -e
tz="$(curl -Ssf https://ipapi.co/timezone)"
sudo timedatectl set-timezone "$tz"
echo "$tz"