Commit 47e139b0 authored by Alexandre Morignot's avatar Alexandre Morignot Committed by Romain Bignon

fix french months management

parent c93b3180
......@@ -39,7 +39,7 @@ static int str2mon(const char *str)
case 'j':
if (str[1] == 'a')
return 0;
else if (str[2] == 'n')
else if (strchr(str, 'n'))
return 5;
return 6;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment