We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3621eb commit b88dbb3Copy full SHA for b88dbb3
README.md
@@ -467,10 +467,10 @@ import pytz
467
468
### Constructors
469
```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)
+<date> = date(year, month, day)
+<time> = time(hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
+<datetime> = datetime(year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, fold=0)
+<timedelta> = timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)
474
```
475
* **`'fold=1'` means second pass in case of time jumping back for one hour.**
476
* **Use `'<D/DT>.weekday()'` to get day of the week (Mon == 0).**
0 commit comments