From 45827cace92f749d7a729f7fc535e66bacc97a4b Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 20 Aug 2020 10:39:56 -0400 Subject: [PATCH] LibCore: Comment that DateTime is in local time. The timestamp is always in UTC, but hours/minutes are in local time. --- Libraries/LibCore/DateTime.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibCore/DateTime.h b/Libraries/LibCore/DateTime.h index f1f1f833ed..15515cc0fd 100644 --- a/Libraries/LibCore/DateTime.h +++ b/Libraries/LibCore/DateTime.h @@ -31,6 +31,7 @@ namespace Core { +// Represents a time in local time. class DateTime { public: time_t timestamp() const { return m_timestamp; }