Skip to content

Commit 7ef8138

Browse files
committed
Datetime fix
1 parent de4fd4a commit 7ef8138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ import pytz
487487
### Timezone
488488
```python
489489
<tz> = pytz.utc # UTC timezone.
490-
<tz> = pytz.timezone('<Cont.>/<City>') # Timezone from 'Continent/City' string.
490+
<tz> = pytz.timezone('<Cont.>/<City>') # Timezone from 'Continent/City_Name' str.
491491
<DTa> = <DT>.astimezone(<tz>) # Datetime, converted to passed timezone.
492492
<Ta/DTa> = <T/DT>.replace(tzinfo=<tz>) # Unconverted object with new timezone.
493493
```

0 commit comments

Comments
 (0)