Skip to content

Commit 41c1c48

Browse files
committed
Datetime fix
1 parent bd8099f commit 41c1c48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,9 @@ import pytz
479479

480480
### Now
481481
```python
482-
<D> = D.today() # Current local date.
483-
<DTn> = DT.today() # Naive datetime from current local time.
482+
<D/DTn> = D/DT.today() # Current local date or naive datetime.
484483
<DTn> = DT.utcnow() # Naive datetime from current UTC time.
485-
<DTa> = DT.now(<tz>) # Aware datetime from current <tz> time.
484+
<DTa> = DT.now(<tz>) # Aware datetime from current tz time.
486485
```
487486

488487
### Timezone

0 commit comments

Comments
 (0)