From 6c32ed979c0947c382ab9bad1044505f79b437d6 Mon Sep 17 00:00:00 2001 From: Azalea Date: Sat, 22 Jun 2024 03:15:26 -0700 Subject: [PATCH] [U] Add note about timezone Closes #2 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 36e975c23..717bd66af 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,16 @@ Syncronized telegram channel data for my blog, created using my [TelegramBackup] (The GitHub actions script will update the JSON once every two hours) +### Timezone + +If you need to change the time zone of the generated time, you can add the following information to the tgc yml file. You can click on [this link](https://github.com/jecanac474/blog-data/blob/main/.github/workflows/tgc.yml) to see an example of using Asia/Shanghai time zone. + +``` +env: + TZ: Asia/Shanghai + LC_TIME: POSIX +``` + ## Example https://profile-api.hydev.org/posts.json