1 diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
2 index c594724d814..d5287c7b992 100644
3 --- a/sys/conf/newvers.sh
4 +++ b/sys/conf/newvers.sh
5 @@ -177,7 +177,7 @@ u=${USER:-root}
7 h=${HOSTNAME:-$(hostname)}
8 if [ -n "$SOURCE_DATE_EPOCH" ]; then
9 - if ! t=$(date -r $SOURCE_DATE_EPOCH 2>/dev/null); then
10 + if ! t=$(date -d @$SOURCE_DATE_EPOCH 2>/dev/null); then
11 echo "Invalid SOURCE_DATE_EPOCH" >&2