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 ### Now
```python ```python
<D> = D.today() # Current local date. <D/DTn> = D/DT.today() # Current local date or naive datetime.
<DTn> = DT.today() # Naive datetime from current local time.
<DTn> = DT.utcnow() # Naive datetime from current UTC time. <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 ### Timezone

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