'I don't know how to set up a calendar in Vuetify." NaN is not a valid timestamp. It must be a Date, number of seconds since Epoch, I get

What I want to solve

I am using Nuxt, Vuetify and Rails to create the calendar. I was able to get the events from the api, but when I click on them I get an error, when I get them in UNIX time ms the error goes away, but this time it doesn't behave as expected. How can I solve this problem?

① This is in YYYY-MM-DD hh:mm. In this case, the time is displayed correctly, but an error occurs when clicking on it.

enter image description here

enter image description here

② This is the screen at UNIX time ms. The event is in the wrong place, but the click event works correctly. Incidentally, the correct event data is also displayed. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source