We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ac2fc commit eb122ffCopy full SHA for eb122ff
README.md
@@ -487,7 +487,8 @@ import pytz
487
488
### Timezone
489
```python
490
-<tz> = pytz.timezone('<Cont.>/<City>') # Use 'pytz.utc' for UTC.
+<tz> = pytz.utc # UTC timezone.
491
+<tz> = pytz.timezone('<Cont.>/<City>') # Timezone from 'Continent/City' string.
492
<DTa> = <DT>.astimezone(<tz>) # Converts datetime to passed timezone.
493
<Ta/DTa> = <T/DT>.replace(tzinfo=<tz>) # Changes timezone without conversion.
494
<TD> = <T/DT>.utcoffset() # Returns timezone's current offset from UTC.
0 commit comments