globalizejs / globalizejs/globalize

Numeric format with quoted text is not formatting correctly.

Open
#761 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.