mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
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