[Git][reproducible-builds/reproducible-website][master] Add missing + to autotools examples.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Fri May 22 15:40:25 UTC 2026



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
5bb3ebd9 by Chris Lamb at 2026-05-22T08:40:21-07:00
Add missing + to autotools examples.

- - - - -


1 changed file:

- _docs/source-date-epoch.md


Changes:

=====================================
_docs/source-date-epoch.md
=====================================
@@ -102,7 +102,7 @@ The above will work with either GNU or BSD date, and fallback to ignore `SOURCE_
 ### GNU Autotools / `configure.ac`
 
 ```make
-DATE_FMT="%Y-%m-%d"
+DATE_FMT="+%Y-%m-%d"
 BUILD_DATE=m4_esyscmd([date -u -d "@$SOURCE_DATE_EPOCH" $DATE_FMT 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH $DATE_FMT || date -u $DATE_FMT])
 AC_SUBST([BUILD_DATE])
 ```
@@ -110,7 +110,7 @@ AC_SUBST([BUILD_DATE])
 or:
 
 ```make
-DATE_FMT="%Y-%m-%d"
+DATE_FMT="+%Y-%m-%d"
 BUILD_DATE=`date $DATE_FMT`
 AS_IF([test "x$SOURCE_DATE_EPOCH" != "x"], [
     BUILD_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" $DATE_FMT 2>/dev/null || date -u -r $SOURCE_DATE_EPOCH $DATE_FMT || date -u $DATE_FMT`



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/5bb3ebd91b15e5b55a5c3022b7f2bce44960075e

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/5bb3ebd91b15e5b55a5c3022b7f2bce44960075e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20260522/eb39ebbf/attachment.htm>


More information about the rb-commits mailing list