Cygwin: version: Use UTC timestamp as build time

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2019-01-24 11:39:43 +01:00
parent b79b0c2bae
commit 04e3dc1128
1 changed files with 1 additions and 1 deletions

View File

@ -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