mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
ddate: Use DateTime::now() for time
This commit is contained in:
parent
3870f4160d
commit
188e5f018f
Notes:
sideshowbarker
2024-07-18 05:41:20 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/188e5f018f0 Pull-request: https://github.com/SerenityOS/serenity/pull/9431
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto date = Core::DateTime::from_timestamp(time(nullptr));
|
auto date = Core::DateTime::now();
|
||||||
outln("Today is {}", DiscordianDate(date).to_string());
|
outln("Today is {}", DiscordianDate(date).to_string());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue