Format timedelta microseconds using locale

issue11741
review412061003
(grafted from 1b1b11be474fbec7dfe1fb16e364e833661ce93f)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2022-10-26 23:32:27 +02:00
1 parent 115cdba810
commit f6801da8a0
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ def format(value, converter=None):
if not any(values[-3:]):
# Add space if no time
text += ' '
text += ('%.6f' % value)[1:]
text += locale.format_string('%.6f', value)[1:]
return text