From 506c845b25be0fa9aff60fd4b8e0a3e96523ec25 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 26 Jun 2009 21:10:04 +0000 Subject: Greg Klanderman: 27057: %e and %f time formats were swapped --- Src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src') diff --git a/Src/utils.c b/Src/utils.c index 687a396fa..510a02b65 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2489,10 +2489,10 @@ ztrftime(char *buf, int bufsize, char *fmt, struct tm *tm) *buf++ = '0' + tm->tm_mday / 10; *buf++ = '0' + tm->tm_mday % 10; break; - case 'e': + case 'f': strip = 1; /* FALLTHROUGH */ - case 'f': + case 'e': if (tm->tm_mday > 9) *buf++ = '0' + tm->tm_mday / 10; else if (!strip) -- cgit 1.4.1