Browse Source

Datetime

pull/36/head
Jure Šorn 5 years ago
parent
commit
9b2102a371
2 changed files with 2 additions and 0 deletions
  1. 1
      README.md
  2. 1
      index.html

1
README.md

@ -605,6 +605,7 @@ from dateutil.tz import UTC, tzlocal, gettz
"Thursday, 14th of May '15, 11:39PM UTC+02:00"
```
* **For abbreviated weekday and month use `'%a'` and `'%b'`.**
* **When parsing, `'%z'` also accepts `'±HH:MM'`.**
### Arithmetics
```python

1
index.html

@ -638,6 +638,7 @@ shuffle(<list>)
</code></pre>
<ul>
<li><strong>For abbreviated weekday and month use <code class="python hljs"><span class="hljs-string">'%a'</span></code> and <code class="python hljs"><span class="hljs-string">'%b'</span></code>.</strong></li>
<li><strong>When parsing, <code class="python hljs"><span class="hljs-string">'%z'</span></code> also accepts <code class="python hljs"><span class="hljs-string">'±HH:MM'</span></code>.</strong></li>
</ul>
<h3 id="arithmetics">Arithmetics</h3>
<pre><code class="python language-python apache hljs">&lt;D/DT&gt; = &lt;D/DT&gt; ± &lt;TD&gt;

Loading…
Cancel
Save