From 6dcb1e1866f4b0b2471d2547c40bdf3dcec782b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Mon, 30 Nov 2009 20:48:48 +0000 Subject: [PATCH] Fixed date problem when US date format is selected. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 301ebca..cee9667 100644 --- a/util.c +++ b/util.c @@ -359,7 +359,7 @@ void fixper(char *tbuf, char *period, const char *duntil) if(strcmp(df,"e") == 0) sprintf(warea,"%s%s%s",dia,mes,ano); if(strcmp(df,"u") == 0) - sprintf(warea,"%s%s%s",mes,dia,ano); + sprintf(warea,"%s%s%s",ano,mes,dia); strcat(period,warea); } -- 2.47.3