diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh index 86e1fa968d12be0764eb5be902b5e2f272f3b799..46b458081b1b0000a724d239dfb0ccab0aa8d41a 100755 --- a/ShellB3/shallbethree.sh +++ b/ShellB3/shallbethree.sh @@ -59,7 +59,7 @@ export BASE=$PWD ID="$Id$" if [ -d ../.git ] ; then REVNUM=GIT$( git rev-parse --verify HEAD --short ) - REVDATE=$( ${ANYPYTHON} -c "from datetime import datetime; print(datetime.fromtimestamp( float( $( git show -s --format=\"%ct\") ) ).strftime(\"%Y%m%d\"))" ) + REVDATE=$( ${ANYPYTHON} -c "from datetime import datetime; print(datetime.utcfromtimestamp( float( $( git show -s --format=\"%ct\") ) ).strftime(\"%Y%m%d\"))" ) elif [ -d .svn ] ; then REVNUM=$(echo $ID |cut -f 3 -d ' ') REVDATE=$(echo $ID |cut -f 4 -d ' ' |sed s/-//g)