Skip to content

Commit a51055e

Browse files
committed
Datetime fix
1 parent 6ce839b commit a51055e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,14 +465,13 @@ from datetime import date, time, datetime, timedelta
465465
import pytz
466466
```
467467

468-
### Constructors
469468
```python
470469
<D> = date(year, month, day)
471470
<T> = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
472471
<DT> = datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
473472
<TD> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
474473
```
475-
* **Use `'<D/DT>.weekday()'` to get day of the week (Mon == 0).**
474+
* **Use `'<D/DT>.weekday()'` to get the day of the week (Mon == 0).**
476475
* **`'fold=1'` means second pass in case of time jumping back for one hour.**
477476

478477
### Now

0 commit comments

Comments
 (0)