The time portion of DATE_FMT uses %m (month) where it should be
%M (minutes), so BUILD_DATE printed by 'screen --version' shows the
month number in the minutes column.

Filed as Savannah bug #68217 on April 7, 2026; resending inline.

---
 src/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 333b5eb..15566f7 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -22,7 +22,7 @@ bindir  = $(exec_prefix)/bin
 VERSION = @PACKAGE_VERSION@
 SCREEN = screen-$(VERSION)

-DATE_FMT = %Y-%m-%d %H:%m:%S
+DATE_FMT = %Y-%m-%d %H:%M:%S
 ifdef SOURCE_DATE_EPOCH
     BUILD_DATE := $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)"  
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || 
date -u "+$(DATE_FMT)")
 else
--
2.39.5

Reply via email to