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

Date incorrectly show in Grid when data feed is "0005-06-14T00:00:00.000" #424

Open
kiett opened this issue Jun 6, 2018 · 2 comments
Open

Comments

@kiett
Copy link

kiett commented Jun 6, 2018

We (IBM) are using GridX's version 1.3.8. When we feed the grid with "0005-06-14T00:00:00.000", it will show 6/14/05,. But when we feed the grid with "2018-06-14T00:00:00.000", it will show 6/14/2018. For the case year 0005, I'd expect the grid show same four digit 0005, instead of 05 for consistency.

Is this issue fix in the latest version? If not, is there a work around for this issue?

Thanks,
Kiet

@jsonn
Copy link
Contributor

jsonn commented Jun 6, 2018

What decorator are you using for the formatting? I'm not sure that Javascript will handle date parsing for anything before 1582 correctly and quite like for a lot of dates before 1970 too.

@kiett
Copy link
Author

kiett commented Jun 7, 2018

@jsonn - is there document to show how to use decorator for formatting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants