summaryrefslogtreecommitdiffstats
path: root/Lib/_strptime.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2003-01-291-3/+3
|
* SF patch 670194: Performance enhancement for _strptime.py.Tim Peters2003-01-191-20/+36
| | | | | From Brett Cannon. Mostly speedups via caching format string -> compiled regexp.
* SF patch 670012: Compatibility changes for _strptime.py.Tim Peters2003-01-181-91/+89
| | | | | | | | | | | | | | | Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost.
* Checking in Brett Cannon's patch #662053, which fixes bug #661354.Jack Jansen2003-01-151-8/+12
| | | | _strptime can now handle getting two empty strings as the timezone information.
* Fix SF #658820, regex fixes for _strptime (Brett Cannon)Neal Norwitz2002-12-301-8/+9
| | | | Disallow zero for days and months
* Fix julian day problem with strptime. Note: XXX about using 0, suggestions?Neal Norwitz2002-12-261-1/+3
|
* Patch #639112: fixes for None locale and tz.Martin v. Löwis2002-11-271-5/+13
|
* Brett's fixes for various bugs and coding issues. Closes SF patch #Barry Warsaw2002-09-231-61/+69
| | | | | 593560, with some minor cleanups, line folding and whitespace normalization by Barry.
* Many hopefully benign style clean ups. Still passes the test suite ofBarry Warsaw2002-08-291-172/+200
| | | | course.
* strptime(): The code that was adding 12 to PM hours was incorrectBarry Warsaw2002-08-291-5/+12
| | | | | | | | | because it added it to 12 PM too. 12 PM should be hour 12 not hour 24. Also cleaned up a minor style nit. There are more style problems in this file that I'll clean up next (but I didn't want them to overwhelm the substance of this fix).
* Whitespace normalization.Tim Peters2002-08-081-40/+40
|
* Pure Python strptime implementation by Brett Cannon. See SF patch 474274.Guido van Rossum2002-07-191-0/+488
Also adds tests.