I created a date picker using an accordion as on this page: docs-demo/datetime.tsx at d47ad2c41f0c036355346ba0ab058f4baedb9d22 · ionic-team/docs-demo · GitHub
While it works fine visually (and the database CRUD is fine), I get this message in the console: ERROR RangeError: Invalid time value. The line mentioned have this code:
return format(parseISO(value), ‘dd MMMM yyyy’);
So, I save the data/load the value from this datepicker to/from Firebase.
I logged the dates before they run through the function and this is what I get back:
As far as I know that is an ISO datetime. I would appreciate it if someone can tell me what is wrong with that format.