aboutsummaryrefslogtreecommitdiff
path: root/src/context.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-06-12 00:00:27 +0200
committerTill Hoeppner2015-06-12 00:00:27 +0200
commitf4d8b1a521c567ccc8e2470299287b063e0d5926 (patch)
tree94e42220872de101ae67a26ee9243cd6e4731386 /src/context.rs
parent6073cd55e7ac0419bcb80bec3c57f2c2409fee02 (diff)
downloadilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.tar.gz
ilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.tar.xz
ilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.zip
Add semi-proper conversion
Diffstat (limited to 'src/context.rs')
-rw-r--r--src/context.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context.rs b/src/context.rs
index 6626714..1793361 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -4,5 +4,6 @@ use chrono::offset::fixed::FixedOffset;
pub struct Context {
pub timezone: FixedOffset,
- pub override_date: NaiveDate
+ pub override_date: Option<NaiveDate>,
+ pub channel: Option<String>
}