Merge pull request #959 from matthiasbeyer/libimagentrydate/fix-header-location

Fix header location for datetime values
This commit is contained in:
Matthias Beyer 2017-06-07 17:40:57 +02:00 committed by GitHub
commit 1b15d45e7c

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";
} }