os/tools/version: add %Z format at date command
The version.sh script uses the date command To get build time.
But it does not have timezone information, it is impossible to know
exact time. Let's add %Z format to show timezone.
CONFIG_VERSION_BUILD_TIME "2021-05-26 15:33:04 KST"
@@ -155,4 +155,4 @@ echo "CONFIG_VERSION_MAJOR=${MAJOR}" >>${OUTFILE}
echo "CONFIG_VERSION_MINOR=${MINOR}" >>${OUTFILE}
echo "CONFIG_VERSION_BUILD=\"${BUILD}\"" >>${OUTFILE}
echo "CONFIG_VERSION_BUILD_USER=\"`whoami`@`hostname`\"" >>${OUTFILE}
-echo "CONFIG_VERSION_BUILD_TIME=\"`date '+%Y-%m-%d %T'`\"" >>${OUTFILE}
+echo "CONFIG_VERSION_BUILD_TIME=\"`date '+%Y-%m-%d %T %Z'`\"" >>${OUTFILE}
