diff options
author | howar6hill <f.eiwu@yahoo.com> | 2020-02-26 11:02:32 +0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-26 09:31:43 +0100 |
commit | 35024154cc6028ffa8a4a79e27fa555680569f8c (patch) | |
tree | 23003db395ad6bf03910a177288d6a552f518773 /Libraries | |
parent | ac53af6b7b6fc054d8a6239c73b864a8c78a9f35 (diff) | |
download | serenity-35024154cc6028ffa8a4a79e27fa555680569f8c.zip |
DateTime: Fix a typo
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibCore/DateTime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibCore/DateTime.cpp b/Libraries/LibCore/DateTime.cpp index dac6bbd226..e0ace57089 100644 --- a/Libraries/LibCore/DateTime.cpp +++ b/Libraries/LibCore/DateTime.cpp @@ -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) |