mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
icc: Print profile creation time
This commit is contained in:
parent
782ab0a11f
commit
a38b3e112b
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <AK/StringView.h>
|
||||
#include <LibCore/ArgsParser.h>
|
||||
#include <LibCore/DateTime.h>
|
||||
#include <LibCore/MappedFile.h>
|
||||
#include <LibGfx/ICCProfile.h>
|
||||
|
||||
|
@ -22,6 +23,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
outln("version: {}", profile->version());
|
||||
outln("device class: {}", Gfx::ICC::device_class_name(profile->device_class()));
|
||||
outln("creation date and time: {}", Core::DateTime::from_timestamp(profile->creation_timestamp()).to_deprecated_string());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue