From 188e5f018f0494267047a6857f8a17d37390dae7 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sat, 14 Aug 2021 14:10:36 -0700 Subject: [PATCH] ddate: Use DateTime::now() for time --- Userland/Utilities/ddate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Utilities/ddate.cpp b/Userland/Utilities/ddate.cpp index 8d2ed07653..9e68eb2aa1 100644 --- a/Userland/Utilities/ddate.cpp +++ b/Userland/Utilities/ddate.cpp @@ -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;