Skip to content

Commit 9b2102a

Browse files
committed
Datetime
1 parent 29b558e commit 9b2102a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ from dateutil.tz import UTC, tzlocal, gettz
605605
"Thursday, 14th of May '15, 11:39PM UTC+02:00"
606606
```
607607
* **For abbreviated weekday and month use `'%a'` and `'%b'`.**
608+
* **When parsing, `'%z'` also accepts `'±HH:MM'`.**
608609

609610
### Arithmetics
610611
```python

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ <h3 id="format-1">Format</h3>
638638
</code></pre>
639639
<ul>
640640
<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>
641+
<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>
641642
</ul>
642643
<h3 id="arithmetics">Arithmetics</h3>
643644
<pre><code class="python language-python apache hljs">&lt;D/DT&gt; = &lt;D/DT&gt; ± &lt;TD&gt;

0 commit comments

Comments
 (0)