-
Notifications
You must be signed in to change notification settings - Fork 405
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
chore(cdk): TuiDay
improvement of localization
#1139
Conversation
Pull request was closed ✔️All saved screenshots (for current PR) were deleted 🗑️ |
Visit the preview URL for this PR (updated for commit c03333e): https://taiga-ui--pr1139-tui-day-localization-tf8h1ybs.web.app (expires Thu, 23 Dec 2021 13:57:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
It is required for future feature #954 |
TuiDay
add static method parseRawDateString
TuiDay
improvement of localization
static parseRawDateString( | ||
date: string, | ||
dateMode: TuiDateMode = 'DMY', | ||
): {day: number; month: number; year: number} { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe add assertion for invalid string?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?