diff --git a/scripts/build/.variables b/scripts/build/.variables index b8ebe667cd..094209cd50 100755 --- a/scripts/build/.variables +++ b/scripts/build/.variables @@ -4,7 +4,7 @@ set -eu PLATFORM=${PLATFORM:-} VERSION=${VERSION:-"unknown-version"} GITCOMMIT=${GITCOMMIT:-$(git rev-parse --short HEAD 2> /dev/null || true)} -BUILDTIME=${BUILDTIME:-$(date --utc --rfc-3339 ns 2> /dev/null | sed -e 's/ /T/')} +BUILDTIME=${BUILDTIME:-$(date -u +"%Y-%m-%dT%H:%M:%SZ")} PLATFORM_LDFLAGS= if test -n "${PLATFORM}"; then