summaryrefslogtreecommitdiff
path: root/Lib/_strptime.py
AgeCommit message (Expand)AuthorLines
2017-05-18[2.7] bpo-30363: Backport warnings in the re module. (#1577)Serhiy Storchaka-2/+2
2016-03-12Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka-0/+4
2015-12-03Issue #6478: _strptime's regexp cache now is reset after changing timezoneSerhiy Storchaka-7/+14
2015-03-19Issue #23136: _strptime now uniformly handles all days in week 0, includingSerhiy Storchaka-5/+5
2013-08-17#18705: fix a number of typos. Patch by Févry Thibault.Ezio Melotti-1/+1
2012-05-14Followup to issue #14157: respect the relative ordering of values produced by...Antoine Pitrou-0/+8
2012-05-10Issue #14157: Fix time.strptime failing without a year on February 29th.Antoine Pitrou-1/+6
2008-03-15add %f format to datetime - issue 1158Skip Montanaro-6/+15
2007-06-03Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace insteadBrett Cannon-1/+1
2007-04-01time.strptime's caching of its locale object was being recreated when theBrett Cannon-5/+4
2007-01-28Use the thread lock's context manager instead of a try/finally statement.Brett Cannon-4/+1
2007-01-25Remove specific mention of my name and email address from modules. Not reallyBrett Cannon-3/+0
2007-01-25Fix time.strptime's %U support. Basically rewrote the algorithm to be moreBrett Cannon-31/+30
2006-09-26Make the error message for when the time data and format do not match clearer.Brett Cannon-1/+1
2005-11-02Change time.strptime() to raise ValueError whenever there is an error in theBrett Cannon-1/+14
2005-09-15Clear out the regex cache when the TimeRE cache is invalidated by a localeBrett Cannon-1/+2
2005-08-29Fix logic error introduced in last commit. Also add a comment to explain whatBrett Cannon-2/+5
2005-08-27fix bug where str.find() was being misused where __contains__ should have beenBrett 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