From 155971b36c100c0c146492375d5580ef0c5ac572 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 16 Mar 2016 17:17:25 +0100 Subject: Add time_out param, change timezone handling --- base/src/context.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'base/src') diff --git a/base/src/context.rs b/base/src/context.rs index c49ef23..79f0a6a 100644 --- a/base/src/context.rs +++ b/base/src/context.rs @@ -2,7 +2,8 @@ use chrono::naive::date::NaiveDate; use chrono::offset::fixed::FixedOffset; pub struct Context { - pub timezone: FixedOffset, + pub timezone_in: FixedOffset, + pub timezone_out: FixedOffset, pub override_date: Option, pub channel: Option, } @@ -10,7 +11,8 @@ pub struct Context { impl Default for Context { fn default() -> Context { Context { - timezone: FixedOffset::west(0), + timezone_in: FixedOffset::west(0), + timezone_out: FixedOffset::west(0), override_date: None, channel: None, } -- cgit v1.2.3