summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-05-14 07:37:52 +0800
committerRunxi Yu <me@runxiyu.org>2024-05-14 07:37:52 +0800
commit250d6399a5138bea2f664487d8b498a89f76f793 (patch)
tree674cad76450e52f157711613f084651d5ed0ee9d
parentf92033f7fe9a91ca8ea0ca442bb4ee2265cb8146 (diff)
downloadwww-250d6399a5138bea2f664487d8b498a89f76f793.tar.gz
Set time style UTC
-rwxr-xr-xhlog.cgi2
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'