Closed (fixed)
Project:
Storm
Version:
6.x-1.27
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Dec 2009 at 14:15 UTC
Updated:
19 Dec 2009 at 19:40 UTC
Jump to comment: Most recent file
While ticket is creating I've filled down this fields:
Duration unit: Hours
Duration: 0,5
Then I have saved a node and reopen for edit and filed "Duration" was equal to 0.
Only Duration = 0.5 (dot was used give me a right result).
All russian and ukrainian speaking people use comma (,) but not dot (.) for floats.
Can you, please, let using a comma too?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | storm-6.x-1.27_allow_using_comma.patch | 3.9 KB | vladsavitsky |
Comments
Comment #1
vladsavitsky commentedOk. The same things should be done for filed "Price".
To do this you should add to function _stormticket_beforesave (in stormticket.module):
I can change all modules and do a patch if it's necessary. Thanks
Comment #2
Magnity commentedI'm happy to implement this. If you would be able to provide a patch, it would be most helpful.
A similar issue is at #498116: Internationalization of number formats.
As an extension to this too, there is the issue of displaying these numbers. Ideally a site owner should be able to select a setting that controls whether a , or . is used.
Comment #3
vladsavitsky commentedOk. Here is the patch against 6.x-1.27 for modules where using comma can be useful.
Comment #4
Magnity commentedThanks - committed.
It will be in the development release within 12 hours, and next stable release as and when.