From 6ed59567fc1862c02005eaf80b0d3c4821c2815b Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Wed, 5 Sep 2018 20:57:47 -0400 Subject: Remove documentation stuff; point to docs.rs --- target/doc/mailparse/fn.dateparse.html | 133 --------------------------------- 1 file changed, 133 deletions(-) delete mode 100644 target/doc/mailparse/fn.dateparse.html (limited to 'target/doc/mailparse/fn.dateparse.html') diff --git a/target/doc/mailparse/fn.dateparse.html b/target/doc/mailparse/fn.dateparse.html deleted file mode 100644 index 3c185cc..0000000 --- a/target/doc/mailparse/fn.dateparse.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - mailparse::dateparse - Rust - - - - - - - - - - - - - - - - - - - -
- -
-
- - - -

Function mailparse::dateparse - - [] - - [src]

pub fn dateparse(date: &str) -> Result<i64, &'static str>

Convert a date field from an email header into a UNIX epoch timestamp. -This function handles the most common formatting of date fields found in -email headers. It may fail to parse some of the more creative formattings.

-

Examples

-
-    use mailparse::dateparse;
-    assert_eq!(dateparse("Sun, 02 Oct 2016 07:06:22 -0700 (PDT)").unwrap(), 1475417182);
-
- - - - - - - - - - - - - \ No newline at end of file -- cgit v1.2.3