September comes before October

This patch fixes the ordering of month names.

Signed-off-by: Tero Roponen <tero.roponen@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Tero Roponen 2011-09-21 15:44:34 +03:00 committed by Linus Torvalds
parent 6eefcf40e6
commit 705d561bb1

2
main.c
View file

@ -39,7 +39,7 @@ const char *monthname(int mon)
{
static const char month_array[12][4] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Oct", "Sep", "Nov", "Dec",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
};
return month_array[mon];
}