Browse Source

Datetime fix

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

2
README.md

@ -523,7 +523,7 @@ import pytz
```python
<tz> = pytz.timezone('<Continent>/<City>') # Use 'pytz.utc' for UTC.
<DTa> = <DT>.astimezone(<tz>) # Converts datetime to passed timezone.
<Ta/DTa> = <T/DT>.replace(tzinfo=<timezone>) # Changes timezone without conversion.
<Ta/DTa> = <T/DT>.replace(tzinfo=<tz>) # Changes timezone without conversion.
<timedelta> = <T/DT>.utcoffset() # Returns timezone's current offset from UTC.
<timedelta> = <T/DT>.dst() # Returns daylight saving time offset.
```

Loading…
Cancel
Save