From a4db0628a0377b39be02f0e83832b0c3527933e1 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 2 Mar 2016 12:57:36 +0100 Subject: Merging of any number of logs --- base/src/context.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'base/src/context.rs') diff --git a/base/src/context.rs b/base/src/context.rs index 4393457..fe264ab 100644 --- a/base/src/context.rs +++ b/base/src/context.rs @@ -7,3 +7,13 @@ pub struct Context { pub override_date: Option, pub channel: Option, } + +impl Default for Context { + fn default() -> Context { + Context { + timezone: FixedOffset::west(0), + override_date: None, + channel: None, + } + } +} -- cgit v1.2.3