Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some numeric columns get interpreted as ShortDate #76

Closed
jvetyska opened this issue May 22, 2012 · 4 comments
Closed

Some numeric columns get interpreted as ShortDate #76

jvetyska opened this issue May 22, 2012 · 4 comments

Comments

@jvetyska
Copy link

In the latest version 2.3.2, the order of the parsers have changed and this caused the shortDate to evaluate first - which is a problem for larger numbers, such as:
1,251,574
which will get parsed as shortDate (well, any number that has two commas in it).

I have just moved "digit" above "shortDate" to solve the problem.

@Mottie
Copy link
Owner

Mottie commented May 22, 2012

Setting the usNumberFormat option to false (ref) should fix this problem.

@jvetyska
Copy link
Author

Well that won't fix it. This is the US number format (1,234,354.43), so setting it to false will not interpret them as numbers then.

The problem is that the shortDate was moved up in the chain, and thus numbers with two comas (such as 24,125,769) will be parsed as shortDate.

@Mottie
Copy link
Owner

Mottie commented May 23, 2012

Ahh ok, I'll have it fixed in the next patch. Thanks for reporting it!

@Mottie
Copy link
Owner

Mottie commented May 28, 2012

Ok, the fix is now available in v2.3.5. Thanks for reporting this issue!

@Mottie Mottie closed this as completed Jun 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants