* src/docgen/PSDrawDoc.py: locale independent floating point

* src/DateDisplay.py: Better french republican date handling
* src/DateParser.py: Better french republican date handling


svn: r5242
This commit is contained in:
Don Allingham
2005-09-27 03:45:19 +00:00
parent 56038d9b63
commit f517351802
5 changed files with 87 additions and 65 deletions

View File

@@ -377,7 +377,7 @@ def gfloat(val):
return 0.0
def gformat(val):
"""Performs ("%.3f" % val) formatting with the resulting string always
"""Performs ('%.3f' % val) formatting with the resulting string always
using dot ('.') as a decimal point.
Useful for writing float values into XML when under non-English locale.