@@ -87,25 +87,26 @@ An explanation of some terminology and conventions is in order.
8787 +=======+===================+=================================+
8888 | 0 | :attr: `tm_year ` | (for example, 1993) |
8989 +-------+-------------------+---------------------------------+
90- | 1 | :attr: `tm_mon ` | range [1,12] |
90+ | 1 | :attr: `tm_mon ` | range [1, 12] |
9191 +-------+-------------------+---------------------------------+
92- | 2 | :attr: `tm_mday ` | range [1,31] |
92+ | 2 | :attr: `tm_mday ` | range [1, 31] |
9393 +-------+-------------------+---------------------------------+
94- | 3 | :attr: `tm_hour ` | range [0,23] |
94+ | 3 | :attr: `tm_hour ` | range [0, 23] |
9595 +-------+-------------------+---------------------------------+
96- | 4 | :attr: `tm_min ` | range [0,59] |
96+ | 4 | :attr: `tm_min ` | range [0, 59] |
9797 +-------+-------------------+---------------------------------+
98- | 5 | :attr: `tm_sec ` | range [0,61]; see **(1) ** in |
98+ | 5 | :attr: `tm_sec ` | range [0, 61]; see **(1) ** in |
9999 | | | :func: `strftime ` description |
100100 +-------+-------------------+---------------------------------+
101- | 6 | :attr: `tm_wday ` | range [0,6], Monday is 0 |
101+ | 6 | :attr: `tm_wday ` | range [0, 6], Monday is 0 |
102102 +-------+-------------------+---------------------------------+
103- | 7 | :attr: `tm_yday ` | range [1,366] |
103+ | 7 | :attr: `tm_yday ` | range [1, 366] |
104104 +-------+-------------------+---------------------------------+
105105 | 8 | :attr: `tm_isdst ` | 0, 1 or -1; see below |
106106 +-------+-------------------+---------------------------------+
107107
108- Note that unlike the C structure, the month value is a range of 1-12, not 0-11.
108+ Note that unlike the C structure, the month value is a range of [1, 12],
109+ not [0, 11].
109110 A year value will be handled as described under "Year 2000 (Y2K) issues" above.
110111 A ``-1 `` argument as the daylight savings flag, passed to :func: `mktime ` will
111112 usually result in the correct daylight savings state to be filled in.
0 commit comments