Browse Source

Datetime fix

pull/28/head
Jure Šorn 6 years ago
parent
commit
bd8099f0db
1 changed files with 0 additions and 2 deletions
  1. 2
      README.md

2
README.md

@ -491,8 +491,6 @@ import pytz
<tz> = pytz.timezone('<Cont.>/<City>') # Timezone from 'Continent/City' string. <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. <Ta/DTa> = <T/DT>.replace(tzinfo=<tz>) # Unconverted object with new timezone.
<TD> = <T/DT>.utcoffset() # Timezone's current offset from UTC.
<TD> = <T/DT>.dst() # Daylight saving time offset.
``` ```
### Encode ### Encode

Loading…
Cancel
Save