globalizejs / globalizejs/globalize
Numeric format with quoted text is not formatting correctly.
Open
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 585
- PR merge metrics
- No merged PRs in 30d
Description
When using the following format: '¥'#,##0.00;('¥'#,##0.00), it is throwing an error that the format is invalid. This appears to be happening because the pattern is being split on the semicolon for positive/negative patterns, ignoring the fact that the semicolon is in quotes.
This is happening i version v1.3.0.
Contributor guide
Assessment
This issue has not been assessed yet.