Skip to content

Commit f2a5bbe

Browse files
committed
Datetime
1 parent 08110b4 commit f2a5bbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary
657657
### Arithmetics
658658
```python
659659
<D/DT> = <D/DT> ± <TD> # Result can fall into missing hour.
660-
<TD> = <D/DT> - <D/DT> # Returns the difference, ignoring time jumps.
660+
<TD> = <D/DT> - <D/DT> # Ignores time jumps if they share non tzlocal tz.
661661
<TD> = <DT_UTC> - <DT_UTC> # Convert DTs to UTC to get the actual delta.
662662
```
663663

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@
703703
<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>
704704
</ul>
705705
<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>
706-
&lt;TD&gt; = &lt;D/DT&gt; - &lt;D/DT&gt; <span class="hljs-comment"># Returns the difference, ignoring time jumps.</span>
706+
&lt;TD&gt; = &lt;D/DT&gt; - &lt;D/DT&gt; <span class="hljs-comment"># Ignores time jumps if they share non tzlocal tz.</span>
707707
&lt;TD&gt; = &lt;DT_UTC&gt; - &lt;DT_UTC&gt; <span class="hljs-comment"># Convert DTs to UTC to get the actual delta.</span>
708708
</code></pre></div>
709709

0 commit comments

Comments
 (0)