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 Range date format problem/solution #160

Open
GoogleCodeExporter opened this issue Dec 16, 2015 · 0 comments
Open

Date Range date format problem/solution #160

GoogleCodeExporter opened this issue Dec 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Have table with dates in "European" format: "dd/mm/yy"
2. Filtering works using "mm/dd/yy" format and confuses months with days 
resulting in wrong filtering.

What is the expected output? What do you see instead?
I expect "01/02/2014" to be later than "02/01/2014" and i see otherwise.

What version of the product are you using? On what operating system?
1.5.6. 

Please provide any additional information below.
I managed to fix that by setting proper dateformat for both 
"datepicker().datepicker()" and "datepicker.parseDate()" in 
fnCreateDateRangeInput(oTable) function. I recommend to place another variable 
here to be set upon plugin lauch like "sRangeFormat", wich will allow user to 
use custom data-formats.

Original issue reported on code.google.com by [email protected] on 8 May 2014 at 1:35

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

1 participant