mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibCore: Comment that DateTime is in local time.
The timestamp is always in UTC, but hours/minutes are in local time.
This commit is contained in:
parent
49d6405164
commit
45827cace9
Notes:
sideshowbarker
2024-07-19 03:23:38 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/45827cace92 Pull-request: https://github.com/SerenityOS/serenity/pull/3228
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
namespace Core {
|
||||
|
||||
// Represents a time in local time.
|
||||
class DateTime {
|
||||
public:
|
||||
time_t timestamp() const { return m_timestamp; }
|
||||
|
|
Loading…
Add table
Reference in a new issue