Skip to content

Commit 69c4146

Browse files
committed
Upload file
1 parent a9a0980 commit 69c4146

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pio/src/main/assets/home/etc/tool-tree.rc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ time_build="$(glog build_times_new "1230768000 Asia/Shanghai")"
6767
time_build_tz="$(echo "$time_build" | awk '{print $1}')"
6868
time_tz="$(echo "$time_build" | awk '{print $2}')"
6969
if [ -z "$time_tz" ];then
70-
time_riviu="$(date -d @${time_build_tz:-1230768000})"
71-
elsse
72-
time_riviu="$(TZ=$time_tz date -d @$time_build_tz)"
70+
time_riviu="$(date -d "@${time_build_tz:-1230768000}")"
71+
else
72+
time_riviu="$(TZ="$time_tz" date -d "@$time_build_tz")"
7373
fi
7474

7575
xml_print '<action icon="'`urlpng config`'" shell="hidden" reload="true">

0 commit comments

Comments
 (0)