changeset 10340:6c358c1efb0b

Use ISO 8601 format. Attribution.
author Simon Josefsson <simon@josefsson.org>
date Mon, 18 Aug 2008 19:47:23 +0200
parents 1ce07f07b1f0
children 973c3d3ff40f
files ChangeLog m4/autobuild.m4
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-08-18  Simon Josefsson  <simon@josefsson.org>
 
-	* m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.
+	* m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.  Use
+	ISO 8601 format.  Suggested by Greg Troxel <gdt@ir.bbn.com>.
 
 2008-08-18  Bruno Haible  <bruno@clisp.org>
 
--- a/m4/autobuild.m4
+++ b/m4/autobuild.m4
@@ -1,4 +1,4 @@
-# autobuild.m4 serial 6
+# autobuild.m4 serial 7
 dnl Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -29,7 +29,7 @@
 
   ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
 
-  date=`TZ=UTC date +%Y%m%d-%H%M%S`
+  date=`TZ=UTC date +%Y%m%dT%H%M%SZ`
   if test "$?" != 0; then
     date=`date`
   fi