diff --git a/lib/src/AccessLogger.cc b/lib/src/AccessLogger.cc index b7d6cd5d..4355e2b5 100644 --- a/lib/src/AccessLogger.cc +++ b/lib/src/AccessLogger.cc @@ -367,12 +367,12 @@ void AccessLogger::outputDate(trantor::LogStream &stream, { if (useLocalTime_) { - stream << trantor::Date::now().toCustomedFormattedStringLocal( + stream << trantor::Date::now().toCustomFormattedStringLocal( timeFormat_, showMicroseconds_); } else { - stream << trantor::Date::now().toCustomedFormattedString( + stream << trantor::Date::now().toCustomFormattedString( timeFormat_, showMicroseconds_); } } @@ -398,12 +398,12 @@ void AccessLogger::outputReqDate(trantor::LogStream &stream, { if (useLocalTime_) { - stream << req->creationDate().toCustomedFormattedStringLocal( + stream << req->creationDate().toCustomFormattedStringLocal( timeFormat_, showMicroseconds_); } else { - stream << req->creationDate().toCustomedFormattedString( + stream << req->creationDate().toCustomFormattedString( timeFormat_, showMicroseconds_); } } diff --git a/lib/src/Utilities.cc b/lib/src/Utilities.cc index fff417d6..ffc701f2 100644 --- a/lib/src/Utilities.cc +++ b/lib/src/Utilities.cc @@ -1039,9 +1039,9 @@ char *getHttpFullDate(const trantor::Date &date) return lastTimeString; } lastSecond = nowSecond; - date.toCustomedFormattedString("%a, %d %b %Y %H:%M:%S GMT", - lastTimeString, - sizeof(lastTimeString)); + date.toCustomFormattedString("%a, %d %b %Y %H:%M:%S GMT", + lastTimeString, + sizeof(lastTimeString)); return lastTimeString; }