aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2025-01-04 16:06:00 +0100
committerHarald Eilertsen <haraldei@anduin.net>2025-01-04 16:06:00 +0100
commitac2217e09bed93516818500b6e7285774213672b (patch)
treed6adff8180b54d5a28e0c1ed124b65016211b55c
parenta93bd1da475bc4b28ad9d984d340cf041ee806a2 (diff)
downloadicaltool-ac2217e09bed93516818500b6e7285774213672b.tar.gz
icaltool-ac2217e09bed93516818500b6e7285774213672b.tar.bz2
icaltool-ac2217e09bed93516818500b6e7285774213672b.zip
Remove debug output
-rw-r--r--src/icaltool.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/icaltool.rs b/src/icaltool.rs
index 2a81a68..478dcf8 100644
--- a/src/icaltool.rs
+++ b/src/icaltool.rs
@@ -67,7 +67,6 @@ impl Icaltool {
}
fn parse_datetime(datetime: Option<String>) -> Option<NaiveDateTime> {
- dbg!(&datetime);
if let Some(mut dt) = datetime {
if dt.is_empty() {
return None;
@@ -76,8 +75,7 @@ fn parse_datetime(datetime: Option<String>) -> Option<NaiveDateTime> {
if !dt.contains('T') {
dt += "T000000";
}
- dbg!(&dt);
- dbg!(NaiveDateTime::parse_from_str(&dt, "%Y%m%dT%H%M%S").ok())
+ NaiveDateTime::parse_from_str(&dt, "%Y%m%dT%H%M%S").ok()
}
else {
None