summaryrefslogtreecommitdiff
path: root/src/Event.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-11-11 12:27:53 +0100
committerJörg Frings-Fürst <debian@jff.email>2024-11-11 12:27:53 +0100
commit5b7b3b1dfd5ce7c275881098310667b09562ad27 (patch)
treed2760df372d76da84d901cfc3a20514d5dc73bdf /src/Event.vala
parentf6062696f6bbd00d4eaa8a6e994dabfefc455f31 (diff)
New upstream version 0.32.10upstream/0.32.10upstream
Diffstat (limited to 'src/Event.vala')
-rw-r--r--src/Event.vala5
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,