|
|
@ -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. |
|
|
|
``` |
|
|
|
|
|
|
|