* mu_msg_str: sanitize date strings a bit, update test case

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-02 21:14:24 +02:00
parent a4ea979aaa
commit a10525d3c9
2 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ mu_msg_str_date_s (time_t t)
tmbuf = localtime(&t);
strftime (buf, sizeof(buf), "%c", tmbuf);
strftime (buf, sizeof(buf), "%x", tmbuf);
return buf;
}