mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
DateTime: Fix a typo
This commit is contained in:
committed by
Andreas Kling
parent
ac53af6b7b
commit
35024154cc
@@ -53,7 +53,7 @@ DateTime DateTime::from_timestamp(time_t timestamp)
|
|||||||
|
|
||||||
String DateTime::to_string() const
|
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)
|
const LogStream& operator<<(const LogStream& stream, const DateTime& value)
|
||||||
|
|||||||
Reference in New Issue
Block a user