Skip to content

Commit

Permalink
Oct Nov が逆だった。NULL終端追加。
Browse files Browse the repository at this point in the history
  • Loading branch information
plonk committed Dec 7, 2021
1 parent 896c791 commit 83b374c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/common/cgi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ void Query::add(const std::string& key, const std::string& value)
m_dict[key].push_back(value);
}

static const char* daysOfWeek[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
static const char* monthNames[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Nov", "Oct", "Dec" };
static const char* daysOfWeek[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", nullptr };
static const char* monthNames[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", nullptr };

std::string rfc1123Time(time_t t)
{
Expand Down

0 comments on commit 83b374c

Please sign in to comment.