Skip to content

Commit 9c8e80c

Browse files
committed
Datetime
1 parent 3784fb9 commit 9c8e80c

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
@@ -634,7 +634,7 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary
634634
<str> = <D/T/DT>.isoformat(sep='T') # Also timespec='auto/hours/minutes/seconds'.
635635
<str> = <D/T/DT>.strftime('<format>') # Custom string representation.
636636
<int> = <D/DT>.toordinal() # Days since Christ, ignoring time and tz.
637-
<float> = <DTn>.timestamp() # Seconds since Epoch from DTn in local time.
637+
<float> = <DTn>.timestamp() # Seconds since Epoch from DTn in local tz.
638638
<float> = <DTa>.timestamp() # Seconds since Epoch from DTa.
639639
```
640640

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@
686686
<div><h3 id="decode">Decode</h3><pre><code class="python language-python hljs">&lt;str&gt; = &lt;D/T/DT&gt;.isoformat(sep=<span class="hljs-string">'T'</span>) <span class="hljs-comment"># Also timespec='auto/hours/minutes/seconds'.</span>
687687
&lt;str&gt; = &lt;D/T/DT&gt;.strftime(<span class="hljs-string">'&lt;format&gt;'</span>) <span class="hljs-comment"># Custom string representation.</span>
688688
&lt;int&gt; = &lt;D/DT&gt;.toordinal() <span class="hljs-comment"># Days since Christ, ignoring time and tz.</span>
689-
&lt;float&gt; = &lt;DTn&gt;.timestamp() <span class="hljs-comment"># Seconds since Epoch from DTn in local time.</span>
689+
&lt;float&gt; = &lt;DTn&gt;.timestamp() <span class="hljs-comment"># Seconds since Epoch from DTn in local tz.</span>
690690
&lt;float&gt; = &lt;DTa&gt;.timestamp() <span class="hljs-comment"># Seconds since Epoch from DTa.</span>
691691
</code></pre></div>
692692

0 commit comments

Comments
 (0)