Browse Source

Datetime fix

pull/28/head
Jure Šorn 5 years ago
parent
commit
489de09fbf
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -488,7 +488,7 @@ import pytz
```python
<tz> = pytz.utc # UTC timezone.
<tz> = pytz.timezone('<Cont.>/<City>') # Timezone from 'Continent/City' string.
<DTa> = <DT>.astimezone(<tz>) # Datetime converted to passed timezone.
<DTa> = <DT>.astimezone(<tz>) # Datetime, converted to passed timezone.
<Ta/DTa> = <T/DT>.replace(tzinfo=<tz>) # Unconverted object with new timezone.
```

Loading…
Cancel
Save