mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: Add DateTime::from_timestamp(time_t)
This commit is contained in:
@@ -46,6 +46,7 @@ public:
|
||||
String to_string() const;
|
||||
|
||||
static DateTime now();
|
||||
static DateTime from_timestamp(time_t);
|
||||
|
||||
private:
|
||||
time_t m_timestamp { 0 };
|
||||
|
||||
Reference in New Issue
Block a user