From 250d6399a5138bea2f664487d8b498a89f76f793 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 14 May 2024 07:37:52 +0800 Subject: Set time style UTC --- hlog.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hlog.cgi') 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' -- cgit 1.4.1-2-gfad0