changeset 1b1b11be474f in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset&node=1b1b11be474f
description:
Format timedelta microseconds using locale
issue11741
review412061003
diffstat:
tryton/common/timedelta.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3d96fb642bfa -r 1b1b11be474f tryton/common/timedelta.py
--- a/tryton/common/timedelta.py Sun Oct 23 18:52:16 2022 +0200
+++ b/tryton/common/timedelta.py Wed Oct 26 23:32:27 2022 +0200
@@ -70,7 +70,7 @@
if not any(values[-3:]):
# Add space if no time
text += ' '
- text += ('%.6f' % value)[1:]
+ text += locale.format_string('%.6f', value)[1:]
return text