nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.4k stars 861 forks source link

TypeError: failed to format relative time #1482

Open simonmaass opened 4 months ago

simonmaass commented 4 months ago

In sentry i can see the following error:

TypeError: undefined is not an object (evaluating 'i.value.modelValue') TypeError: failed to format relative time

Screenshot from user:

image

User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Safari/605.1.15

This is what sentry gives as a snippet: {snip} s(t),a=bs(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".

simonmaass commented 4 months ago

I can see that in v2 similar issue was fixed:

image

Maybe related?

illeb commented 2 months ago

Happening in our application aswell. @simonmaass did you find a workaround?

simonmaass commented 2 months ago

@illeb we did not - sorry