mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user