Whole file
bear/parsedatetime
The author described this change as “Short week day abbreviation fix”. It counts as a record because the check below fails on the code as it stood at f0ea09bfb and passes on 7e19ff2ac, with nothing else changed between the two runs.
Projectbear/parsedatetime
Fix saved2014-10-26
Sharing licenceApache-2.0 · LICENSE.txt
Change size+1 −1
What the code was meant to do, written into the code itself as a save note
Short week day abbreviation fix
The change
| 43 | 43 | 'thursday', 'friday', 'saturday', 'sunday', | |
| 44 | 44 | ] | |
| 45 | 45 | self.shortWeekdays = [ 'mon', 'tues', 'wed', | |
| 46 | - | 'th', 'fri', 'sat', 'sun', | |
| 46 | + | 'thu', 'fri', 'sat', 'sun', | |
| 47 | 47 | ] | |
| 48 | 48 | self.Months = [ 'january', 'february', 'march', | |
| 49 | 49 | 'april', 'may', 'june', |
The check that tells the two apart
fail→pass·parsedatetime/tests/TestSimpleDateTimes.py::test::testDaysOfWeek
Check file parsedatetime/tests/TestSimpleDateTimes.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before itf0ea09bfbb136bdb71b95ea44116cfc6ba4693c9
Broken version dated2014-10-22
Moduleparsedatetime.pdt_locales
Units changedpdtLocale_base
Fingerprinte30c9ed90f190bd5
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.