Skip to content

Commit bee2a1c

Browse files
committed
Datetime
1 parent c5fbbdc commit bee2a1c

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
@@ -653,6 +653,7 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary
653653
"Thursday, 14th of May '15, 11:39PM UTC+02:00"
654654
```
655655
* **When parsing, `'%z'` also accepts `'±HH:MM'`.**
656+
* **For abbreviated weekday and month use `'%a'` and `'%b'`.**
656657

657658
### Arithmetics
658659
```python

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@
702702

703703
<ul>
704704
<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>
705+
<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>
705706
</ul>
706707
<div><h3 id="arithmetics">Arithmetics</h3><pre><code class="python language-python apache hljs">&lt;D/DT&gt; = &lt;D/DT&gt; ± &lt;TD&gt; <span class="hljs-comment"># Result can fall into missing hour.</span>
707708
&lt;TD&gt; = &lt;D/DT&gt; - &lt;D/DT&gt; <span class="hljs-comment"># Returns the difference, ignoring time jumps.</span>

0 commit comments

Comments
 (0)