summaryrefslogtreecommitdiffstats
path: root/target/doc/mailparse/fn.dateparse.html
diff options
context:
space:
mode:
Diffstat (limited to 'target/doc/mailparse/fn.dateparse.html')
-rw-r--r--target/doc/mailparse/fn.dateparse.html38
1 files changed, 26 insertions, 12 deletions
diff --git a/target/doc/mailparse/fn.dateparse.html b/target/doc/mailparse/fn.dateparse.html
index c1d35b1..4234d23 100644
--- a/target/doc/mailparse/fn.dateparse.html
+++ b/target/doc/mailparse/fn.dateparse.html
@@ -10,8 +10,11 @@
<title>mailparse::dateparse - Rust</title>
<link rel="stylesheet" type="text/css" href="../normalize.css">
- <link rel="stylesheet" type="text/css" href="../rustdoc.css">
- <link rel="stylesheet" type="text/css" href="../main.css">
+ <link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle">
+
+ <link rel="stylesheet" type="text/css" href="../dark.css">
+ <link rel="stylesheet" type="text/css" href="../main.css" id="themeStyle">
+ <script src="../storage.js"></script>
@@ -28,10 +31,18 @@
<nav class="sidebar">
+ <div class="sidebar-menu">&#9776;</div>
<p class='location'><a href='index.html'>mailparse</a></p><script>window.sidebarCurrent = {name: 'dateparse', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script>
</nav>
+ <div class="theme-picker">
+ <button id="theme-picker" aria-label="Pick another theme!">
+ <img src="../brush.svg" width="18" alt="Pick another theme!">
+ </button>
+ <div id="theme-choices"></div>
+ </div>
+ <script src="../theme.js"></script>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
@@ -52,10 +63,9 @@
<pre class='rust fn'>pub fn dateparse(date: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, &amp;'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;</pre><div class='docblock'><p>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.</p>
-
-<h1 id='examples' class='section-header'><a href='#examples'>Examples</a></h1>
+<h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>
<pre class="rust rust-example-rendered">
-<span class="kw">use</span> <span class="ident">mailparse</span>::<span class="ident">dateparse</span>;
+ <span class="kw">use</span> <span class="ident">mailparse</span>::<span class="ident">dateparse</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">dateparse</span>(<span class="string">&quot;Sun, 02 Oct 2016 07:06:22 -0700 (PDT)&quot;</span>).<span class="ident">unwrap</span>(), <span class="number">1475417182</span>);</pre>
</div></section>
<section id='search' class="content hidden"></section>
@@ -70,18 +80,22 @@ email headers. It may fail to parse some of the more creative formattings.</p>
<h2>Keyboard Shortcuts</h2>
<dl>
- <dt>?</dt>
+ <dt><kbd>?</kbd></dt>
<dd>Show this help dialog</dd>
- <dt>S</dt>
+ <dt><kbd>S</kbd></dt>
<dd>Focus the search field</dd>
- <dt>&larrb;</dt>
+ <dt><kbd>↑</kbd></dt>
<dd>Move up in search results</dd>
- <dt>&rarrb;</dt>
+ <dt><kbd>↓</kbd></dt>
<dd>Move down in search results</dd>
- <dt>&#9166;</dt>
+ <dt><kbd>↹</kbd></dt>
+ <dd>Switch tab</dd>
+ <dt><kbd>&#9166;</kbd></dt>
<dd>Go to active search result</dd>
- <dt>+</dt>
- <dd>Collapse/expand all sections</dd>
+ <dt><kbd>+</kbd></dt>
+ <dd>Expand all sections</dd>
+ <dt><kbd>-</kbd></dt>
+ <dd>Collapse all sections</dd>
</dl>
</div>