Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused formats
  • Loading branch information
matrixise committed Mar 22, 2019
commit ab5030fc1b89a249b320183bb02ba165c8a3fba1
4 changes: 2 additions & 2 deletions Lib/_strptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"):
weekday, julian, tz, tzname, gmtoff), fraction, gmtoff_fraction

date_specs = ('%a', '%A', '%b', '%B', '%c', '%d', '%j', '%m', '%U',
'%w', '%W', '%x', '%y', '%Y',)
time_specs = ('%T', '%R', '%H', '%I', '%M', '%S', '%f', '%i', '%s',)
'%w', '%W', '%x', '%y', '%Y', '%G', '%u', '%V',)
time_specs = ('%H', '%I', '%M', '%S', '%f',)

def _strptime_time(data_string, format="%a %b %d %H:%M:%S %Y"):
"""Return a time struct based on the input string and the
Expand Down