Skip to content

Conversation

MayaKirova
Copy link
Contributor

Closes #16138

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

* Returns the date format based on a provided locale.
* Supports Angular's DatePipe format options such as `shortDate`, `longDate`.
*/
public static getLocaleDateFormat(locale: string, displayFormat?: string): string {
Copy link
Member

@skrustev skrustev Sep 24, 2025

Choose a reason for hiding this comment

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

There are also a few methods using Intl.DateTimeFormat that can be replaced to use the new date formatters from igniteui-i18n-core. For example formatDate(should use the util.js format date instead), getDefaultInputFormat, getLocaleInputFormatFromParts and methods that use them maybe as well.

@MayaKirova MayaKirova requested a review from skrustev September 24, 2025 13:04
Base automatically changed from skrastev/localization-split to skrastev/localization September 25, 2025 11:43
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.

3 participants