Issue Details (XML | Word | Printable)

Key: CHRT-39
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Bob Swift
Reporter: Bob Swift
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Chart Plugin

Number parsing needs to fixed and respect locale

Created: 12/Dec/06 09:49 AM   Updated: 16/Dec/06 12:15 PM
Component/s: {chart}
Affects Version/s: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.6a, 1.7
Fix Version/s: 1.7.1
Security Level: public (Anyone can view the issue)

Time Tracking:
Not Specified

Issue Links:
Reference
 

Labels:


 Description  « Hide
For instance, decimal number using comma as decimal point are not converted properly.
Currently, all text excluding numbers, "." and "-" are just stripped and then the number is converted. This needs to convert all number types and respect locale.

 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Bob Swift added a comment - 16/Dec/06 08:56 AM
1) Added support for get Confluence default locale and other languages registered to Confluence
2) Added numeric and date formats for each local
3) Date formats - include short, medium, and long formats for date and also short and long time formats
4) Numeric formats - include currency, percent formats
5) Priority of parsing is:
a) format indicated by dateFormat parameter if provided
b) formats defined by Confluence default locale
c) formats defined by other Confluence defined locales
Note that date formats are prioritized over time formats if timePeriod is a day or longer
6) Refactored data processing into a separate class.