Loupe/src
Alexandros Kosiaris d930323da9 Don't force UTC on naive datetime structs
Why:
When a camera ships EXIF information that lacks any type of
offset and/or timezone information, any kind of information that
would help make a decision regarding the timezone is absent.
Forcing UTC means that most users of such cameras will end up
with datetimes reported that have nothing to do with the ones
they expect. The only assumption that holds some water, is to
assume that the picture was taken in the same timezone as the
device running Loupe and hope that's true. If it is not, it is
undetectable programmatically, and the user will have to mentally
compensate for it

What:
Switch from using from_unix_local() and parsing the timestamp of
the naive datetime as UTC to using from_local() and passing the
arguments needed
2025-12-04 15:37:07 +01:00
..
decoder code: Reformat with Rust 2024 edition 2025-12-04 06:17:55 +01:00
editing code: Reformat with Rust 2024 edition 2025-12-04 06:17:55 +01:00
metadata metadata: Drop unreliable mime-type 2025-12-03 22:41:24 +01:00
util image_window: Don't rely on root existing 2025-03-29 19:57:36 +00:00
widgets Print preview: Revert to previous width on disabling of fill space 2025-12-04 15:16:16 +01:00
about.rs Update to glycin 2.0 alpha.7 2025-07-07 22:18:36 +02:00
application.rs window: Don't store window to avoid ref cycles 2024-12-22 20:27:33 +01:00
config.rs meson: Don't mangle profile and app id suffix 2024-09-27 21:22:52 +02:00
decoder.rs decoder: Fix clippy warning 2025-12-04 06:17:55 +01:00
editing.rs Update to glycin 2.0 alpha.7 2025-07-07 22:18:36 +02:00
file_model.rs code: Reformat with Rust 2024 edition 2025-12-04 06:17:55 +01:00
lib.rs docs: Update widget tree 2025-01-02 00:41:26 +01:00
main.rs util/gettext: Parse unicode escape sequences 2024-07-17 19:33:52 +02:00
meson.build Add newlines to end of all files 2025-04-18 02:40:39 +02:00
metadata.rs Don't force UTC on naive datetime structs 2025-12-04 15:37:07 +01:00
util.rs code: Reformat with Rust 2024 edition 2025-12-04 06:17:55 +01:00
widgets.rs properties: Remove usage of breakpoints 2024-12-22 20:27:33 +01:00