File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,12 +98,9 @@ There are several useful utilities provided in the :mod:`email.utils` module:
9898
9999.. function :: mktime_tz(tuple)
100100
101- Turn a 10-tuple as returned by :func: `parsedate_tz ` into a UTC timestamp. It
102- the timezone item in the tuple is ``None ``, assume local time. Minor
103- deficiency: :func: `mktime_tz ` interprets the first 8 elements of *tuple * as a
104- local time and then compensates for the timezone difference. This may yield a
105- slight error around changes in daylight savings time, though not worth worrying
106- about for common use.
101+ Turn a 10-tuple as returned by :func: `parsedate_tz ` into a UTC
102+ timestamp (seconds since the Epoch). If the timezone item in the
103+ tuple is ``None ``, assume local time.
107104
108105
109106.. function :: formatdate(timeval=None, localtime=False, usegmt=False)
@@ -210,4 +207,3 @@ There are several useful utilities provided in the :mod:`email.utils` module:
210207.. [# ] Note that the sign of the timezone offset is the opposite of the sign of the
211208 ``time.timezone `` variable for the same timezone; the latter variable follows
212209 the POSIX standard while this module follows :rfc: `2822 `.
213-
You can’t perform that action at this time.
0 commit comments