mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Consistent spelling: "time zone" -> "timezone".
Clarify that the sign of the timezone offset returned by parsedate_tz() is the opposite of time.timezone.
This commit is contained in:
parent
4186cd3df2
commit
026d9626df
2 changed files with 12 additions and 6 deletions
|
@ -44,7 +44,10 @@ Performs the same function as \code{parsedate()}, but returns either
|
|||
\code{None} or a 10-tuple; the first 9 elements make up a tuple that
|
||||
can be passed directly to \code{time.mktime()}, and the tenth is the
|
||||
offset of the date's timezone from UTC (which is the official term
|
||||
for Greenwich Mean Time).
|
||||
for Greenwich Mean Time). (Note that the sign of the timezone offset
|
||||
is the opposite of the sign of the \code{time.timezone} variable for
|
||||
the same timezone; the latter variable follows the \POSIX{} standard
|
||||
while this module follows \rfc{822}.)
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{mktime_tz}{tuple}
|
||||
|
|
|
@ -44,7 +44,10 @@ Performs the same function as \code{parsedate()}, but returns either
|
|||
\code{None} or a 10-tuple; the first 9 elements make up a tuple that
|
||||
can be passed directly to \code{time.mktime()}, and the tenth is the
|
||||
offset of the date's timezone from UTC (which is the official term
|
||||
for Greenwich Mean Time).
|
||||
for Greenwich Mean Time). (Note that the sign of the timezone offset
|
||||
is the opposite of the sign of the \code{time.timezone} variable for
|
||||
the same timezone; the latter variable follows the \POSIX{} standard
|
||||
while this module follows \rfc{822}.)
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{mktime_tz}{tuple}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue