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:
parent
ac53af6b7b
commit
35024154cc
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue