mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
ddate: Use DateTime::now() for time
This commit is contained in:
parent
3870f4160d
commit
188e5f018f
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;
|
||||
}
|
||||
|
||||
auto date = Core::DateTime::from_timestamp(time(nullptr));
|
||||
auto date = Core::DateTime::now();
|
||||
outln("Today is {}", DiscordianDate(date).to_string());
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue