diff src/filedata.c @ 1804:2cc889b20a9e

Unifying the datetime output The output of %date% and %formatted.DateTime% should be equivalent.
author mow
date Sat, 27 Feb 2010 20:34:54 +0000
parents 956aab097ea7
children
line wrap: on
line diff
--- a/src/filedata.c	Wed Feb 17 21:05:10 2010 +0000
+++ b/src/filedata.c	Sat Feb 27 20:34:54 2010 +0000
@@ -116,7 +116,7 @@
 	btime = localtime(&t);
 
 	/* the %x warning about 2 digit years is not an error */
-	buflen = strftime(buf, sizeof(buf), "%x %H:%M", btime);
+	buflen = strftime(buf, sizeof(buf), "%x %X", btime);
 	if (buflen < 1) return "";
 
 	g_free(ret);