diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-11-13 13:36:16 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-11-13 13:36:16 +0100 |
commit | 34852b296a372a81d0b97ab4c12f32be6d294cd3 (patch) | |
tree | 4f751a1551d21c24e7fe66d2a7ddf4444d10a569 /src/Event.vala | |
parent | 80aa3fe15f6346102c29b9c4236fe1e89c283d3b (diff) | |
parent | 4098950bba8e6d8609395eb9b223c276cb5954b6 (diff) |
Merge branch 'release/debian/0.32.10-1'HEADdebian/0.32.10-1master
Diffstat (limited to 'src/Event.vala')
-rw-r--r-- | src/Event.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Event.vala b/src/Event.vala index 69d27d0..4375aad 100644 --- a/src/Event.vala +++ b/src/Event.vala @@ -601,10 +601,11 @@ public class Event : EventSource, ContainerSource, Proxyable, Indexable { // media sources are stored in ViewCollection from earliest to latest MediaSource earliest_media = (MediaSource) ((DataView) view.get_at(0)).get_source(); - var earliest_tm = earliest_media.get_exposure_time().to_local(); + var earliest_tm = earliest_media.get_exposure_time().to_timezone(Application.timezone); // use earliest to generate the boundary hour for that day - var start_boundary = new DateTime.local(earliest_tm.get_year(), + var start_boundary = new DateTime(Application.timezone, + earliest_tm.get_year(), earliest_tm.get_month(), earliest_tm.get_day_of_month(), EVENT_BOUNDARY_HOUR, |