fix wrong timezone
parent
6058a6dea6
commit
a59b0c22d9
|
@ -3,7 +3,7 @@
|
||||||
echo "Content-type: text/html"
|
echo "Content-type: text/html"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
date_now=$(date +'%b %d, %Y at %H:%M')
|
date_now=$(TZ='Asia/Beirut' date +'%b %d, %Y at %H:%M')
|
||||||
|
|
||||||
if [[ $(cat state.txt) = "ON" ]]
|
if [[ $(cat state.txt) = "ON" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue