Fix header location for datetime values

This commit is contained in:
Matthias Beyer 2017-06-07 17:25:58 +02:00
parent 16a12af873
commit ceda2643c0

View file

@ -44,9 +44,9 @@ pub trait EntryDate {
} }
lazy_static! { lazy_static! {
static ref DATE_HEADER_LOCATION : &'static str = "date.value"; static ref DATE_HEADER_LOCATION : &'static str = "datetime.value";
static ref DATE_RANGE_START_HEADER_LOCATION : &'static str = "date.range.start"; static ref DATE_RANGE_START_HEADER_LOCATION : &'static str = "datetime.range.start";
static ref DATE_RANGE_END_HEADER_LOCATION : &'static str = "date.range.end"; static ref DATE_RANGE_END_HEADER_LOCATION : &'static str = "datetime.range.end";
static ref DATE_FMT : &'static str = "%Y-%m-%dT%H:%M:%S"; static ref DATE_FMT : &'static str = "%Y-%m-%dT%H:%M:%S";
} }