diff options
author | Nico Weber <thakis@chromium.org> | 2023-01-20 20:46:39 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-21 01:50:24 +0000 |
commit | a0522aec90048fa41cf2ba568f0ef9b1da6984fb (patch) | |
tree | 61230fbbb73af33a3c5c9e8ab7868e1e03e81af0 /Userland/Utilities/icc.cpp | |
parent | e47e5f5ce0134b031886ad162394b4582f3d6650 (diff) | |
download | serenity-a0522aec90048fa41cf2ba568f0ef9b1da6984fb.zip |
icc: Remove needless use of DateTime::to_deprecated_string()
Turns out DateTime has a Formatter that prints the same thing that
to_deprecated_string() returns.
No behavior change.
Diffstat (limited to 'Userland/Utilities/icc.cpp')
-rw-r--r-- | Userland/Utilities/icc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/icc.cpp b/Userland/Utilities/icc.cpp index f77a177da9..c8044e1275 100644 --- a/Userland/Utilities/icc.cpp +++ b/Userland/Utilities/icc.cpp @@ -36,7 +36,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) outln(" device class: {}", Gfx::ICC::device_class_name(profile->device_class())); outln(" data color space: {}", Gfx::ICC::data_color_space_name(profile->data_color_space())); outln(" connection space: {}", Gfx::ICC::profile_connection_space_name(profile->connection_space())); - outln("creation date and time: {}", Core::DateTime::from_timestamp(profile->creation_timestamp()).to_deprecated_string()); + outln("creation date and time: {}", Core::DateTime::from_timestamp(profile->creation_timestamp())); outln(" primary platform: {}", Gfx::ICC::primary_platform_name(profile->primary_platform())); auto flags = profile->flags(); |