Browse Source

Datetime fix

pull/28/head
Jure Šorn 6 years ago
parent
commit
ddc89607c2
1 changed files with 4 additions and 4 deletions
  1. 8
      README.md

8
README.md

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

|||||||
100:0
Loading…
Cancel
Save