forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork0
Commit08bc84c
committed
parsedate_tz(): Return a 1 in the tm_yday field so that the value is
acceptable to Python 2.4's time.strftime(). This fix mirrors the behavior inemail 3.0. That field is documented as being "not useable" so it might aswell not be buggy too <wink>.Add a test for this behavior and update a few tests that were expecting a 0 inthis field. After committing I will run the entire Python 2.3 test suite toensure this doesn't break any Python tests.1 parent9b55f08 commit08bc84c
2 files changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
1952 | | - | |
| 1952 | + | |
1953 | 1953 | | |
1954 | 1954 | | |
1955 | 1955 | | |
1956 | 1956 | | |
1957 | | - | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
1958 | 1967 | | |
1959 | 1968 | | |
1960 | 1969 | | |
| |||
0 commit comments
Comments
(0)