diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:28:23 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-11-11 12:28:23 +0100 |
commit | 483b2e960f24c370d9e0260ab4ba8b3453408590 (patch) | |
tree | ec5e83ac39e4e5cec0ab9494da2d0edaafe72d89 /src/Event.vala | |
parent | 1bbf886bafc680c56ddd5e27ddd803b4e03685df (diff) | |
parent | cb001bb8056869f98e9a62248bdd509a69d08faf (diff) |
Merge branch 'feature/upstrem' into develop
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, |