aboutsummaryrefslogtreecommitdiff
path: root/src/context.rs
diff options
context:
space:
mode:
authorTill Höppner2015-06-11 20:57:39 +0200
committerTill Höppner2015-06-11 20:57:39 +0200
commitbc755a4dedc520b672bc7168ff6ef9d088072d99 (patch)
tree52bed0ed50693bb9f5bbdc52fa81d7e1edfb855c /src/context.rs
parent86fe3230866082d6207eb5253f2e89623b941f63 (diff)
parentccc9f5e8eaa84579da610ea0d90d18596078bac7 (diff)
downloadilc-bc755a4dedc520b672bc7168ff6ef9d088072d99.tar.gz
ilc-bc755a4dedc520b672bc7168ff6ef9d088072d99.tar.xz
ilc-bc755a4dedc520b672bc7168ff6ef9d088072d99.zip
Merge pull request #1 from tilpner/cows
Update Event API with Option and Cow
Diffstat (limited to 'src/context.rs')
-rw-r--r--src/context.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/context.rs b/src/context.rs
new file mode 100644
index 0000000..6626714
--- /dev/null
+++ b/src/context.rs
@@ -0,0 +1,8 @@
+
+use chrono::naive::date::NaiveDate;
+use chrono::offset::fixed::FixedOffset;
+
+pub struct Context {
+ pub timezone: FixedOffset,
+ pub override_date: NaiveDate
+}