antoniandre / vue-cal

A Vue.js full calendar, no dependency, no BS. :metal:
https://antoniandre.github.io/vue-cal/
MIT License
1.23k stars 234 forks source link

Bug with ending of event #482

Closed zlodey509 closed 2 years ago

zlodey509 commented 2 years ago

Please, fix bug with ending of event bcz when I create event, for example, from 02:00 to 03:00, in console event show me {start: 02:00, end: 02:01}, I checked, your docs has the same problem (Events-related log) image

supersophisticated22 commented 2 years ago

+1, is there a work around?

antoniandre commented 2 years ago

Hi @zlodey509, @supersophisticated22, I'm not sure I understand the issue.

In the documentation in the logs box at https://antoniandre.github.io/vue-cal/#ex--emitted-events, when you click a cell or drag an event end, it will log a time that includes a timezone. this is because the events are JSON stringified in that logs box.

In this screenshot, I resized the bottom of the event, then it logs 12:11 but the endTimeMinutes is correct and if you console.log() it will show up correctly.

Screenshot 2022-08-27 at 22 29 30

If not solved, please reopen with a clear description of the problem and a reproduction where I can see the issue. :)