Skip to content

Commit 29fd381

Browse files
committed
Datetime fix
1 parent d66e682 commit 29fd381

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

0 commit comments

Comments
 (0)