Skip to content

fix(ui5-calendar): Today date is properly calculated #2660

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

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

vladitasev
Copy link
Contributor

For several components the Today timestamp was not a UTC timestamp but rather a timestamp, representing the Local date (new Date().getTime()) opposed to the UTC Date. Now new Date() is never used to get today's timestamp. It is however fine for time-related components, therefore it's not changed there.

closes: #2655

@vladitasev vladitasev merged commit 32dd0ef into master Jan 12, 2021
@vladitasev vladitasev deleted the calendar-timestamps branch January 12, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-date-picker: default date is not right for US timezone
2 participants