Skip to content

Commit b88dbb3

Browse files
committed
Datetime fix
1 parent f3621eb commit b88dbb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,10 @@ import pytz
467467

468468
### Constructors
469469
```python
470-
<D> = date(year, month, day)
471-
<T> = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
472-
<DT> = datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
473-
<TD> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
470+
<date> = date(year, month, day)
471+
<time> = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
472+
<datetime> = datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
473+
<timedelta> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
474474
```
475475
* **`'fold=1'` means second pass in case of time jumping back for one hour.**
476476
* **Use `'<D/DT>.weekday()'` to get day of the week (Mon == 0).**

0 commit comments

Comments
 (0)