public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: version: Use UTC timestamp as build time
@ 2019-01-24 10:40 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-01-24 10:40 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=04e3dc112884313b79ff346651d6219e85aba7fd
commit 04e3dc112884313b79ff346651d6219e85aba7fd
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Thu Jan 24 11:39:43 2019 +0100
Cygwin: version: Use UTC timestamp as build time
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/mkvers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh
index 6309c84..b2db73c 100755
--- a/winsup/cygwin/mkvers.sh
+++ b/winsup/cygwin/mkvers.sh
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-24 10:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24 10:40 [newlib-cygwin] Cygwin: version: Use UTC timestamp as build time Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).