summaryrefslogtreecommitdiff
path: root/src/parse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.rs')
-rw-r--r--src/parse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.rs b/src/parse.rs
index 876b861..6bed4d9 100644
--- a/src/parse.rs
+++ b/src/parse.rs
@@ -75,7 +75,7 @@ fn parse_file_str(file_str: &str, implicit_week: Option<NaiveDate>) -> Vec<Task>
return tasks;
}
-fn parse_date_line(l: &str) -> Option<NaiveDate> {
+pub fn parse_date_line(l: &str) -> Option<NaiveDate> {
for maybe_date_str in l.split(' ') {
if let Ok(date) = NaiveDate::parse_from_str(maybe_date_str, "%m/%d/%y") {
return Some(date);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback