summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-06-07 17:40:57 +0200
committerGitHub <noreply@github.com>2017-06-07 17:40:57 +0200
commit1b15d45e7cf0e63e8370fbf779b12a9fce27412d (patch)
tree9decaf3344540208a9bb019e8d9aec9878110155
parent16a12af873bdeae7eb2da94def40086fb239b1da (diff)
parentceda2643c0e3e9109be3969204865208c7646e31 (diff)
downloadimag-1b15d45e7cf0e63e8370fbf779b12a9fce27412d.zip
imag-1b15d45e7cf0e63e8370fbf779b12a9fce27412d.tar.gz
Merge pull request #959 from matthiasbeyer/libimagentrydate/fix-header-location
Fix header location for datetime values
-rw-r--r--libimagentrydatetime/src/datetime.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/libimagentrydatetime/src/datetime.rs b/libimagentrydatetime/src/datetime.rs
index ea1d175..b78dac0 100644
--- a/libimagentrydatetime/src/datetime.rs
+++ b/libimagentrydatetime/src/datetime.rs
@@ -44,9 +44,9 @@ pub trait EntryDate {
}
lazy_static! {
- static ref DATE_HEADER_LOCATION : &'static str = "date.value";
- static ref DATE_RANGE_START_HEADER_LOCATION : &'static str = "date.range.start";
- static ref DATE_RANGE_END_HEADER_LOCATION : &'static str = "date.range.end";
+ static ref DATE_HEADER_LOCATION : &'static str = "datetime.value";
+ static ref DATE_RANGE_START_HEADER_LOCATION : &'static str = "datetime.range.start";
+ static ref DATE_RANGE_END_HEADER_LOCATION : &'static str = "datetime.range.end";
static ref DATE_FMT : &'static str = "%Y-%m-%dT%H:%M:%S";
}