Skip to content

Commit 65ac2fc

Browse files
committed
Datetime fix
1 parent eaed442 commit 65ac2fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,9 @@ import pytz
470470
```python
471471
<D> = date(year, month, day)
472472
<T> = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
473-
<DT> = datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
474-
<TD> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
473+
<DT> = datetime(year, month, day, hour=0, minute=0, second=0, ...)
474+
<TD> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0,
475+
minutes=0, hours=0, weeks=0)
475476
```
476477
* **Use `'<D/DT>.weekday()'` to get the day of the week (Mon == 0).**
477478
* **`'fold=1'` means second pass in case of time jumping back for one hour.**

0 commit comments

Comments
 (0)