From e5f71ea767515f50f5ed8c34946a87746a3d4ed7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 26 Feb 2014 03:46:01 -0600 Subject: use the timezones object to set the ECalComponent's default timezone. This is needed to properly handle the 'floating' dates in the alarms --- include/datetime/planner-eds.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/datetime') diff --git a/include/datetime/planner-eds.h b/include/datetime/planner-eds.h index a99f611..32ea57a 100644 --- a/include/datetime/planner-eds.h +++ b/include/datetime/planner-eds.h @@ -22,6 +22,7 @@ #include #include +#include #include // shared_ptr, unique_ptr @@ -35,7 +36,8 @@ namespace datetime { class PlannerEds: public Planner { public: - PlannerEds(const std::shared_ptr& clock); + PlannerEds(const std::shared_ptr& clock, + const std::shared_ptr& timezones); virtual ~PlannerEds(); private: -- cgit v1.2.3