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

Can't change date format #11

Open
devmikko opened this issue Mar 15, 2015 · 1 comment
Open

Can't change date format #11

devmikko opened this issue Mar 15, 2015 · 1 comment

Comments

@devmikko
Copy link

The default DD/MM/YYYY date format is still reflecting
date

despite it's declare to be MM/DD/YYYY
date2

@sandro-k
Copy link

@devmikko I hope you found an answer.. I belief there is no bug, it is just how html attributes are mapped to the JavaScript properties

<hot-column width="125" type="date" value="date" date-format="MM/DD/YY" correct-format header="Date"></hot-column>

dateformat should be date-format because the JavaScript property is dateFormat which will be mapped to data-format see https://github.com/Polymer/polymer/blob/master/PRIMER.md#attribute-deserialization

correctFormat='true' should just be correct-format

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

3 participants