diff --git a/configure.ac b/configure.ac index f7f2e6e49..a5160a2c1 100644 --- a/configure.ac +++ b/configure.ac @@ -1948,7 +1948,7 @@ AM_CONDITIONAL(SUN_KBD_MODE, [test x$KBD_MODE_TYPE = xsun]) BUILD_DATE="$(date +'%Y%m%d')" AC_SUBST([BUILD_DATE]) -BUILD_TIME="$(date +'%k%M%S')" +BUILD_TIME="$(date +'1%H%M%S')" AC_SUBST([BUILD_TIME]) DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS" diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index 8423fca36..16162b7bc 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -1733,7 +1733,7 @@ xf86PrintBanner() #if defined(BUILD_TIME) t.tm_sec = BUILD_TIME % 100; t.tm_min = (BUILD_TIME / 100) % 100; - t.tm_hour = (BUILD_TIME / 10000); + t.tm_hour = (BUILD_TIME / 10000) % 100; if (strftime(buf, sizeof(buf), "%d %B %Y %I:%M:%s%p", &t)) ErrorF("Build Date: %s\n", buf); #else