diff options
author | Nora <nora.widdecke@tu-bs.de> | 2019-01-18 23:54:38 +0100 |
---|---|---|
committer | Nora <nora.widdecke@tu-bs.de> | 2019-01-18 23:54:38 +0100 |
commit | 372a05ae916ff6011fe14273c174f377b63b19b7 (patch) | |
tree | f43b330cfe7f9505eadb5da3f21c7bbcc5f0f276 /src/icalwrap | |
parent | bf38db781d82b75a6640fcd80ad65c96a186c9ec (diff) |
cleanup
Diffstat (limited to 'src/icalwrap')
-rw-r--r-- | src/icalwrap/icalvcalendar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/icalwrap/icalvcalendar.rs b/src/icalwrap/icalvcalendar.rs index baf1f49..90811c0 100644 --- a/src/icalwrap/icalvcalendar.rs +++ b/src/icalwrap/icalvcalendar.rs @@ -142,7 +142,7 @@ impl IcalVCalendar { let event = self.get_principal_event(); unsafe { let now = dateutil::now().timestamp(); - let is_date = 0; + let is_date = 0; // 1 == true let now_icaltime = ical::icaltime_from_timet_with_zone(now, is_date, ical::icaltimezone_get_utc_timezone()); if let Some(prop) = event.get_property_by_name("LAST-MODIFIED") { ical::icalproperty_set_lastmodified(prop.ptr, now_icaltime); @@ -336,7 +336,7 @@ impl Drop for IcalComponentOwner { mod tests { use super::*; use testdata; - use chrono::{Utc, Local, TimeZone}; + use chrono::{Local, TimeZone}; #[test] fn test_from_str_empty() { |