mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
icc: Print profile creation time
This commit is contained in:
parent
782ab0a11f
commit
a38b3e112b
Notes:
sideshowbarker
2024-07-17 03:05:16 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/a38b3e112b Pull-request: https://github.com/SerenityOS/serenity/pull/16686 Reviewed-by: https://github.com/bgianfo ✅
@ -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…
Reference in New Issue
Block a user