[california] Honor master event's timezone when editing RRULEs: Bug #741624
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Honor master event's timezone when editing RRULEs: Bug #741624
- Date: Wed, 7 Jan 2015 01:44:19 +0000 (UTC)
commit 77a6f87236cc960ea97cea988f9347c1a836c1eb
Author: Jim Nelson <jim yorba org>
Date: Tue Jan 6 17:44:01 2015 -0800
Honor master event's timezone when editing RRULEs: Bug #741624
src/event-editor/event-editor-recurring-card.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/event-editor/event-editor-recurring-card.vala
b/src/event-editor/event-editor-recurring-card.vala
index 208bf7f..97267c3 100644
--- a/src/event-editor/event-editor-recurring-card.vala
+++ b/src/event-editor/event-editor-recurring-card.vala
@@ -257,8 +257,9 @@ public class RecurringCard : Gtk.Grid, Toolkit.Card {
// "Ends ... After" entry
after_entry.text = "1";
- // "Starts" and "Ends...On" entries
- Calendar.DateSpan event_span = master.get_event_date_span(Calendar.Timezone.local);
+ // "Starts" and "Ends...On" entries ... use a null Timezone because want all information
+ // here to be in the timezone of the master's DTSTART, which RRULEs are sensitive to
+ Calendar.DateSpan event_span = master.get_event_date_span(null);
start_date = event_span.start_date;
end_date = event_span.end_date;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]