Add debug output
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
aa3fdb88d5
commit
b8cd9c6efa
1 changed files with 2 additions and 0 deletions
|
@ -212,12 +212,14 @@ impl FromStoreId for DiaryId {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut cmps = s.components().rev();
|
let mut cmps = s.components().rev();
|
||||||
|
trace!("Found components: {:?}", cmps);
|
||||||
|
|
||||||
let (hour, minute, second) = next_component(&mut cmps).and_then(|time| {
|
let (hour, minute, second) = next_component(&mut cmps).and_then(|time| {
|
||||||
let mut time = time.split(":");
|
let mut time = time.split(":");
|
||||||
let hour = time.next().and_then(|s| FromStr::from_str(s).ok());
|
let hour = time.next().and_then(|s| FromStr::from_str(s).ok());
|
||||||
let minute = time.next().and_then(|s| FromStr::from_str(s).ok());
|
let minute = time.next().and_then(|s| FromStr::from_str(s).ok());
|
||||||
let second = time.next().and_then(|s| FromStr::from_str(s).ok());
|
let second = time.next().and_then(|s| FromStr::from_str(s).ok());
|
||||||
|
trace!("Found time = {:?}", time);
|
||||||
|
|
||||||
debug!("Hour = {:?}", hour);
|
debug!("Hour = {:?}", hour);
|
||||||
debug!("Minute = {:?}", minute);
|
debug!("Minute = {:?}", minute);
|
||||||
|
|
Loading…
Reference in a new issue