diff --git a/u-boot/tools/build b/u-boot/tools/build index d543303..9e1da75 100755 --- a/u-boot/tools/build +++ b/u-boot/tools/build @@ -67,7 +67,7 @@ if [ $# -ge 2 ]; then fi echo "Calculating dates..." -GIT_DATE=$(git -C $TMP log -1 --format=%cd) +GIT_DATE=$(TZ=UTC0 git -C $TMP log -1 --date=local --format=%cd) GIT_HASH=$(git -C $TMP log -1 --format=%H) echo "Locating work..." @@ -139,7 +139,7 @@ for dir in $WORK_QUEUE; do # Populate README.md cp tools/README.template $dir/README.md sed -i "s^%%URL%%^$URL^g" $dir/README.md - sed -i "s^%%DATE%%^$(date)^g" $dir/README.md + sed -i "s^%%DATE%%^$(TZ=UTC0 LANG=en_us date)^g" $dir/README.md sed -i "s^%%GIT_REPO%%^$GIT_REPO^g" $dir/README.md sed -i "s^%%GIT_DATE%%^$GIT_DATE^g" $dir/README.md sed -i "s^%%GIT_HASH%%^$GIT_HASH^g" $dir/README.md