Browse Source

Datetime fix

pull/28/head
Jure Šorn 6 years ago
parent
commit
41c1c48d18
1 changed files with 2 additions and 3 deletions
  1. 5
      README.md

5
README.md

@ -479,10 +479,9 @@ import pytz
### Now
```python
<D> = D.today() # Current local date.
<DTn> = DT.today() # Naive datetime from current local time.
<D/DTn> = D/DT.today() # Current local date or naive datetime.
<DTn> = DT.utcnow() # Naive datetime from current UTC time.
<DTa> = DT.now(<tz>) # Aware datetime from current <tz> time.
<DTa> = DT.now(<tz>) # Aware datetime from current tz time.
```
### Timezone

Loading…
Cancel
Save