Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the month March does not appear in the label Month #553

Closed
visualo opened this issue Apr 1, 2020 · 2 comments · Fixed by #570
Closed

the month March does not appear in the label Month #553

visualo opened this issue Apr 1, 2020 · 2 comments · Fixed by #570

Comments

@visualo
Copy link

visualo commented Apr 1, 2020

The display of the month March does not appear in the label Month! 2020.02 instead of [2020.03]([url](
tui_bug

@visualo visualo added the Bug label Apr 1, 2020
@auto-comment
Copy link

auto-comment bot commented Apr 1, 2020

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
Copy link
Contributor

The time zone offset has changed in your area when comparing the current time with the time a month ago.

This issue occurs when today's date is 1st, and when the time zone changes in the previous month

For example,
I don't know which area you live in.
As of March 8th, it is assumed that the DST has been applied and the time zone offset for the region has changed.

Wed Apr 01 2020 00:00:00 GMT-0600  // today (DST is applied)

// 'prev' button click! 
// Then, cal.getDate()
Sun Mar 01 2020 00:00:00 GMT-0700 // standard time  

In the calendar instance, getDate() returns 00:00:00 on March 1st.
Since the date is calculated based on the time zone, it is 23:00 on February 29th.

Service level example code script but need to be improved.

when the current date is 1st,
How about counting by adding one day ?

@jungeun-cho jungeun-cho added this to the v1.12.13 milestone Apr 9, 2020
jungeun-cho added a commit that referenced this issue Apr 17, 2020
Fix incorrect date label on monthly view on example file(fix #553)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants