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

fix(ui5-special-date): respect format-pattern #9086

Merged
merged 4 commits into from
Jun 17, 2024
Merged

fix(ui5-special-date): respect format-pattern #9086

merged 4 commits into from
Jun 17, 2024

Conversation

hinzzx
Copy link
Contributor

@hinzzx hinzzx commented May 30, 2024

Previously our <ui5-special-date> didn't respect the format-pattern (if provided), and was able to work only with formats, supported by the JavaScript's Date class.

With this change, our <ui5-special-date> now takes the provided format-pattern property in account.

Fixes: #9067

Copy link
Contributor

@vladitasev vladitasev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check why the tests fail

@vladitasev vladitasev dismissed their stale review May 31, 2024 04:56

my mistake

@hinzzx hinzzx requested a review from tsanislavgatev June 3, 2024 12:50
Copy link
Contributor

@tsanislavgatev tsanislavgatev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a small test for this?

@hinzzx hinzzx merged commit 105c311 into main Jun 17, 2024
10 checks passed
@hinzzx hinzzx deleted the special-date-fix branch June 17, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui5-special-date]: value does not respect format-pattern of ui5-calendar
4 participants