diff options
Diffstat (limited to 'leapseconds.awk')
-rwxr-xr-x | leapseconds.awk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/leapseconds.awk b/leapseconds.awk index 924ade9..1d3c606 100755 --- a/leapseconds.awk +++ b/leapseconds.awk @@ -105,8 +105,10 @@ END { print "" print "# UTC timestamp when this leap second list expires." print "# Any additional leap seconds will come after this." - print "# This Expires line is commented out for now," - print "# so that pre-2020a zic implementations do not reject this file." + if (! EXPIRES_LINE) { + print "# This Expires line is commented out for now," + print "# so that pre-2020a zic implementations do not reject this file." + } printf "%sExpires %.4d\t%s\t%.2d\t%.2d:%.2d:%.2d\n", \ EXPIRES_LINE ? "" : "#", \ ss_year, monthabbr[ss_month], ss_mday, ss_hour, ss_min, ss_sec |