nhn / tui.calendar

🍞📅A JavaScript calendar that has everything you need.
http://ui.toast.com/tui-calendar
MIT License
11.88k stars 1.28k forks source link

unexpected behavour when adding schedules on December 2020 to January 2021 #677

Open era-net opened 4 years ago

era-net commented 4 years ago

Description

When adding a new schedule from 30th of December 2020 to 5th January 2021 the calendar ads a day at the end so it si from 30th of December 2020 to 6th January 2021 and when refreshing the page the calendar adds another date at the beginning so it ends up to be from 29th of December 2020 to 6th January 2021.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://nhn.github.io/tui.calendar/latest/tutorial-example00-basic'
  2. Change the view to month
  3. Try to insert a schedule from 03rd of January 2021 to 5th of January 2021
  4. Unexpected behavour will appear

Expected behavior

It is expected that the schedule will be set from 03rd to 05th of January 2021 but after refreshing it is set from 02nd to 06th of January 2021.

Desktop:

Additional context

When adding schedules starting in April 2021 the bug seems to disappear and everything works as expected.

auto-comment[bot] commented 4 years ago

Thank you for raising an issue. We will try and get back to you as soon as possible.

Please make sure you have filled out issue respecting our form in English and given us as much context as possible. If not, the issue will be closed or not replied.

jungeun-cho commented 4 years ago

Can I get your timezone?

era-net commented 4 years ago

https://www.timeanddate.com/time/zone/switzerland

jungeun-cho commented 4 years ago

This is a DST issue. According to your time zone, 2020.10.25 2:59:59 (CEST) and converted to CET, The start time and end time of the schedule are incorrectly displayed based on the time point of the standard time change.

It needs to be fixed...

era-net commented 4 years ago

Thanks for your fast responses, i really appreciate it.

Could you tell me the approximate time the problem will be worked on, since my project heavily relies on the TUI Calendar?

jungeun-cho commented 4 years ago

Hmm... It seems to have to be revised before October... I'm already scheduled to other project. However, this issue should be fixed as soon as possible.

era-net commented 4 years ago

Unfortunately i had to change to another calendar api, since the schedules jumped ahead to January 2020. I'm sorry to tell you this but i hope it will be solved soon, since TUI Calendar is a very powerful tool and it's free. Keep up the good work!

orvillelim commented 3 years ago

Should we close this guys?