1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:15:06 +00:00

DateTime: Fix a typo

This commit is contained in:
howar6hill 2020-02-26 11:02:32 +08:00 committed by Andreas Kling
parent ac53af6b7b
commit 35024154cc

View file

@ -53,7 +53,7 @@ DateTime DateTime::from_timestamp(time_t timestamp)
String DateTime::to_string() const
{
return String::format("%04u-%02u-%02u %02u:%02u:%02u", m_year, m_month, m_day, m_hour, m_minute, m_day);
return String::format("%04u-%02u-%02u %02u:%02u:%02u", m_year, m_month, m_day, m_hour, m_minute, m_second);
}
const LogStream& operator<<(const LogStream& stream, const DateTime& value)