You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
Ok, I figured out why.
You're passing 18/07/2017 as value, but the addon can't know that your date is already DD/MM/YYYY formated so the switch is applied.
If you pass 07/18/2017 (en) as value and the DD/MM/YYYY you'll get the date you were looking for.
My model returns data in dd/mm/yyyy format. Passing this value of ember-pikaday does not work and the input is blank.
The
child.dob
value looks something like this18/07/2017
. I even try to put a static value in there and the result is the same. It works when i changed it into07/18/2017
(mm/dd/yyyy).The text was updated successfully, but these errors were encountered: