Commit 2f4faade authored by Neal Norwitz's avatar Neal Norwitz

Fix SF #618146, overflow error in calendar module

Will backport.
parent 9b8e9183
...@@ -15,6 +15,11 @@ convention). Use \function{setfirstweekday()} to set the first day of the ...@@ -15,6 +15,11 @@ convention). Use \function{setfirstweekday()} to set the first day of the
week to Sunday (6) or to any other weekday. Parameters that specify week to Sunday (6) or to any other weekday. Parameters that specify
dates are given as integers. dates are given as integers.
Most of these functions rely on the platform provided \function{mktime()}.
Therefore, valid argument values may vary from system to system.
On Unix, valid years are typically between \code{1970} and \code{2037},
but may be work between \code{1902} and \code{2037}.
\begin{funcdesc}{setfirstweekday}{weekday} \begin{funcdesc}{setfirstweekday}{weekday}
Sets the weekday (\code{0} is Monday, \code{6} is Sunday) to start Sets the weekday (\code{0} is Monday, \code{6} is Sunday) to start
each week. The values \constant{MONDAY}, \constant{TUESDAY}, each week. The values \constant{MONDAY}, \constant{TUESDAY},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment