Cygwin: version: Use UTC timestamp as build time
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
b79b0c2bae
commit
04e3dc1128
|
@ -58,7 +58,7 @@ parse_preproc_flags $CC
|
|||
#
|
||||
# Load the current date so we can work on individual fields
|
||||
#
|
||||
set -$- $(date +"%m %d %Y %H:%M")
|
||||
set -$- $(date -u +"%m %d %Y %H:%M")
|
||||
m=$1 d=$2 y=$3 hhmm=$4
|
||||
#
|
||||
# Set date into YYYY-MM-DD HH:MM:SS format
|
||||
|
|
Loading…
Reference in New Issue