-
Notifications
You must be signed in to change notification settings - Fork 48
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
Date Number #31
Comments
@Chriz74 in what scenario you need to counter date as an object? And why didn't you convert that date to number? For example, you can use Or you can give me your piece of code from jsfiddle or pastebin, so I can test it. |
Here is a simple basic setup: What i want to achieve is the number "2005" and not "2.005" ... so no '.' in it. |
@Chriz74 Let me see... This code works well on my browser. But I think this can be happen because we use Maybe this issue will appear on some |
@Chriz74 can you share a screenshot of the result you're getting please |
edited my reply with screenshot :) |
Right but there might be situations where formatting would want to be turned off. Imo. we need a setting to remove formatting: Possible values: boolean [off], closure, string='locale' (default - because that's what we currently do) |
feat: Add "formater" config (Date Number srexi#31)
@Chriz74 I'm just create PR #32 for this issue. You can check out my repository and test it to your project... You can specify |
Works like a charm :) |
I'll be merging this in tonight (in about 12 hours from now) |
This feature is live in version 1.5.0+ thanks for the suggestion @Chriz74 |
Is it possible to remove the '.' on thousands?
I try to count to a year e.g. 2020. It displays then 2.021
'separator = false' seems to work only for decimals ...
The text was updated successfully, but these errors were encountered: