fix(skills): add UTC+7 timezone to date calls in find_newsletter_number.sh

This commit is contained in:
tiennm99 committed 2026-03-17 20:50:38 +07:00
1 parent 52bb73e010
commit 35108a42f3
1 file changed
+3 -3
@@ -10,9 +10,9 @@ PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../../.." && pwd)"
CONTENT_DIR="$PROJECT_ROOT/content/post"
# Get current date in YYYY/MM/DD format
CURRENT_YEAR=$(date +%Y)
CURRENT_MONTH=$(date +%m)
CURRENT_DAY=$(date +%d)
CURRENT_YEAR=$(TZ='Asia/Ho_Chi_Minh' date +%Y)
CURRENT_MONTH=$(TZ='Asia/Ho_Chi_Minh' date +%m)
CURRENT_DAY=$(TZ='Asia/Ho_Chi_Minh' date +%d)
# Function to find newsletter number in a file
extract_newsletter_number() {