aboutsummaryrefslogtreecommitdiff
path: root/src/freq.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/freq.rs
parent6073cd55e7ac0419bcb80bec3c57f2c2409fee02 (diff)
downloadilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.tar.gz
ilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.tar.xz
ilc-f4d8b1a521c567ccc8e2470299287b063e0d5926.zip
Add semi-proper conversion
Diffstat (limited to 'src/freq.rs')
-rw-r--r--src/freq.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/freq.rs b/src/freq.rs
index 25810e7..39015ee 100644
--- a/src/freq.rs
+++ b/src/freq.rs
@@ -48,7 +48,8 @@ fn main() {
let mut stats: HashMap<String, Person> = HashMap::new();
let context = Context {
timezone: FixedOffset::west(0),
- override_date: NaiveDate::from_ymd(2015, 6, 10)
+ override_date: Some(NaiveDate::from_ymd(2015, 6, 10)),
+ channel: Some("#code".to_owned())
};
let mut parser = format::weechat3::Weechat3;