diff options
author | Runxi Yu <me@runxiyu.org> | 2024-05-14 07:37:52 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-05-14 07:37:52 +0800 |
commit | 250d6399a5138bea2f664487d8b498a89f76f793 (patch) | |
tree | 674cad76450e52f157711613f084651d5ed0ee9d | |
parent | f92033f7fe9a91ca8ea0ca442bb4ee2265cb8146 (diff) | |
download | www-250d6399a5138bea2f664487d8b498a89f76f793.tar.gz |
Set time style UTC
-rwxr-xr-x | hlog.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hlog.cgi b/hlog.cgi index b7f414c..6bf1a0d 100755 --- a/hlog.cgi +++ b/hlog.cgi @@ -2,7 +2,7 @@ printf 'Content-Type: text/plain\r\n\r\n' -ls -l /srv/hlog/runxiyu.hlog +TZ='Asia/Shanghai' ls --time-style '+%Y-%m-%d %H:%M:%S %Z' -l /srv/hlog/runxiyu.hlog printf '\n' |