changeset 0b8391683069 in tryton:5.6
details: https://hg.tryton.org/tryton?cmd=changeset&node=0b8391683069
description:
        Add missing decimal separator on label format

        issue10312
        review320981008
        (grafted from caf5ace2ac2b430a03e5df601cd553c91e4011b8)
diffstat:

 tryton/gui/window/view_form/view/graph_gtk/line.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ce2b6deb8fb1 -r 0b8391683069 
tryton/gui/window/view_form/view/graph_gtk/line.py
--- a/tryton/gui/window/view_form/view/graph_gtk/line.py        Thu Apr 22 
00:07:18 2021 +0200
+++ b/tryton/gui/window/view_form/view/graph_gtk/line.py        Thu Apr 22 
07:56:09 2021 +0200
@@ -202,7 +202,7 @@
                         label += common.timedelta.format(point.yval, converter)
                     else:
                         label += locale.localize(
-                            '{:2f}'.format(point.yval), True)
+                            '{:.2f}'.format(point.yval), True)
                     label += '\n'
                     label += str(self.labels[point.xname])
                     self.popup.set_text(label)

Reply via email to