adopted-ember-addons / adopted-ember-addons/ember-pikaday
Setting value to DD/MM/YYYY does not work
Open
- Dominant language
- JavaScript
- Stars
- 156
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
My model returns data in dd/mm/yyyy format. Passing this value of ember-pikaday does not work and the input is blank.
```handlebars
{{#each parent.child_list as |child index|}}
...
{{pikaday-input firstDay=0 format="DD/MM/YYYY" yearRange="2010,currentYear" name="child_dob[]" id=(concat 'child_dob-' index) value=child.dob placeholder="hh/bb/tttt"}}
...
{{/each}}
```
The `child.dob` value looks something like this `18/07/2017`. I even try to put a static value in there and the result is the same. It works when i changed it into `07/18/2017` (mm/dd/yyyy).
Contributor guide
Assessment
This issue has not been assessed yet.