Nov is the correct abbreviation
This commit is contained in:
parent
9735835c0e
commit
e34a3b5adc
@ -20,7 +20,7 @@ static char *http_date(time_t t)
|
||||
{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
|
||||
static char month[][4] =
|
||||
{"Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
"Jul", "Aug", "Sep", "Oct", "Now", "Dec"};
|
||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
|
||||
struct tm *tm = gmtime(&t);
|
||||
return fmt("%s, %02d %s %04d %02d:%02d:%02d GMT", day[tm->tm_wday],
|
||||
tm->tm_mday, month[tm->tm_mon], 1900+tm->tm_year,
|
||||
|
Loading…
Reference in New Issue
Block a user