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
Notes: sideshowbarker 2024-07-19 17:38:37 +09:00

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)