summaryrefslogtreecommitdiff
path: root/Lib/_strptime.py
AgeCommit message (Expand)AuthorLines
2005-09-15Clear the regex cache when the locale changes.Brett Cannon-1/+2
2005-08-29Fix logic error introduced in last commit.Brett Cannon-2/+2
2005-08-27Fix bug where __contains__ should have been used over str.find()Brett Cannon-1/+1
2004-10-28Fix bug of implementation of algorithm for calculating the date from year, weekBrett Cannon-10/+12
2004-10-18Fix comments.Brett Cannon-2/+4
2004-10-18Add support for %U and %W to contribute to calculating the date when the yearBrett Cannon-1/+43
2004-10-06Fix bug introduced by the previous patch by changing TimeRE.__seqToRe() toBrett Cannon-2/+1
2004-10-06Convert a listcomp to a gencomp (was already editing code).Brett Cannon-2/+2
2004-10-06Locale data that contains regex metacharacters are now properly escaped.Brett Cannon-2/+4
2004-05-04Replace str.find()!=1 with the more readable "in" operator.Raymond Hettinger-1/+1
2004-03-07Deal with possible case of having time.tzname[1] containing UTC or GMT.Brett Cannon-2/+2
2004-01-18Whitespace normalization.Tim Peters-1/+1
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-4/+3
2003-10-16Let library modules use the new keyword arguments for list.sort().Raymond Hettinger-11/+9
2003-08-29Make sure parentheses are escaped when used in the format string.Brett Cannon-1/+1
2003-08-11Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] andBrett Cannon-10/+19
2003-08-08Fix docstring in LocaleTime.Brett Cannon-2/+2
2003-08-05Re-introduce caching of TimeRE and compiled regexes with added thread-safety.Brett Cannon-275/+136
2003-07-24Fixes bug of having default argument for TimeRE's __init__ that caused theBrett Cannon-2/+5
2003-07-24Remove caching of TimeRE (and thus LocaleTime) instance. Error was beingBrett Cannon-41/+13
2003-07-13SF 748201: time.strptime() should display format and date on errorRaymond Hettinger-1/+2
2003-07-03Fixes bug of timezone value being left as -1 when ``time.tzname[0] ==Brett Cannon-4/+5
2003-06-29use == like all the other conditionalsNeal Norwitz-1/+1
2003-05-13Call time.tzset (if available) just before calculating possible timezones fro...Brett Cannon-0/+4
2003-05-11Beefed up timezone support. UTC and GMT are now always recognized timezonesBrett Cannon-7/+15
2003-04-28Raise a ValueError when there is data that was not covered in the format stri...Brett Cannon-0/+3
2003-04-24Whitespace normalization.Tim Peters-3/+2
2003-04-19Make _strptime escape regex syntax in format string to prevent use in interna...Brett Cannon-1/+10
2003-03-09SF patch #691928: Use datetime in _strptimeRaymond Hettinger-56/+18
2003-01-29Whitespace normalization.Tim Peters-3/+3
2003-01-19SF patch 670194: Performance enhancement for _strptime.py.Tim Peters-20/+36
2003-01-18SF patch 670012: Compatibility changes for _strptime.py.Tim Peters-91/+89
2003-01-15Checking in Brett Cannon's patch #662053, which fixes bug #661354.Jack Jansen-8/+12
2002-12-30Fix SF #658820, regex fixes for _strptime (Brett Cannon)Neal Norwitz-8/+9
2002-12-26Fix julian day problem with strptime. Note: XXX about using 0, suggestions?Neal Norwitz-1/+3
2002-11-27Patch #639112: fixes for None locale and tz.Martin v. Löwis-5/+13
2002-09-23Brett's fixes for various bugs and coding issues. Closes SF patch #Barry Warsaw-61/+69
2002-08-29Many hopefully benign style clean ups. Still passes the test suite ofBarry Warsaw-172/+200
2002-08-29strptime(): The code that was adding 12 to PM hours was incorrectBarry Warsaw-5/+12
2002-08-08Whitespace normalization.Tim Peters-40/+40
2002-07-19Pure Python strptime implementation by Brett Cannon. See SF patch 474274.Guido van Rossum-0/+488