mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-14 06:17:29 +00:00
fix(skills): add UTC+7 timezone to date calls in find_newsletter_number.sh
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user