Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b939b02

Browse files
committed
Datetime
1 parent 54d2c3f commit b939b02

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
@@ -586,7 +586,7 @@ Datetime
586586

587587
```python
588588
from datetime import date, time, datetime, timedelta
589-
from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary
589+
from dateutil.tz import UTC, tzlocal, gettz, datetime_exists, resolve_imaginary
590590
```
591591

592592
### Constructors

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@
667667
<li><strong>Time and datetime objects can be 'aware' <code class="apache hljs"><span class="hljs-section">&lt;a&gt;</span></code>, meaning they have defined timezone, or 'naive' <code class="apache hljs"><span class="hljs-section">&lt;n&gt;</span></code>, meaning they don't.</strong></li>
668668
<li><strong>If object is naive, it is presumed to be in the system's timezone.</strong></li>
669669
</ul><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> datetime <span class="hljs-keyword">import</span> date, time, datetime, timedelta
670-
<span class="hljs-keyword">from</span> dateutil.tz <span class="hljs-keyword">import</span> UTC, tzlocal, gettz, resolve_imaginary
670+
<span class="hljs-keyword">from</span> dateutil.tz <span class="hljs-keyword">import</span> UTC, tzlocal, gettz, datetime_exists, resolve_imaginary
671671
</code></pre></div>
672672

673673

0 commit comments

Comments
 (0)