aboutsummaryrefslogtreecommitdiff
path: root/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'base/src')
-rw-r--r--base/src/context.rs6
1 files changed, 4 insertions, 2 deletions
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<NaiveDate>,
pub channel: Option<String>,
}
@@ -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,
}