W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2008

2002/css-validator/org/w3c/css/css StyleSheetGenerator.java,1.17,1.18

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 03 Jul 2008 14:20:41 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1KEPft-0003R0-Et@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv13179/w3c/css/css

Modified Files:
	StyleSheetGenerator.java 
Log Message:
fixing typo in date formatting

Index: StyleSheetGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGenerator.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- StyleSheetGenerator.java	9 Apr 2008 13:02:52 -0000	1.17
+++ StyleSheetGenerator.java	3 Jul 2008 14:20:39 -0000	1.18
@@ -132,7 +132,7 @@
 	}
 		
 	// generated values
-	SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'hh:mss'Z'");
+	SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss'Z'");
 	formatter.setTimeZone(TimeZone.getTimeZone("UTC"));
 	context.put("currentdate", formatter.format(new Date()));
 	context.put("lang", ac.getContentLanguage());
Received on Thursday, 3 July 2008 14:21:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 July 2008 14:21:16 GMT