libstdc++: Fix format string in StdChronoTimeZoneRulePrinter
libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (StdChronoTimeZoneRulePrinter): Fix incorrect number of replacement fields.
This commit is contained in:
parent
0f205d089c
commit
1fab05a885
1 changed files with 1 additions and 1 deletions
|
@ -2215,7 +2215,7 @@ class StdChronoTimeZoneRulePrinter:
|
|||
day = on['day_of_month']
|
||||
ordinal_day = '{}{}'.format(day, suffixes.get(day, 'th'))
|
||||
if kind == 0: # DayOfMonth
|
||||
start = '{} {}{}'.format(month, ordinal_day)
|
||||
start = '{} {}'.format(month, ordinal_day)
|
||||
else:
|
||||
weekday = weekdays[on['day_of_week']]
|
||||
if kind == 1: # LastWeekDay
|
||||
|
|
Loading…
Add table
Reference in a new issue