You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, component supports a variety of formats, but they lack native support for commonly used formats such as day/month/year (DD/MM/YYYY) , day/month/year hours:minutes (DD/MM/YYYY HH:MM) hours:minutes:seconds DD/MM/YYYY HH:MM:SS) format. Additionally, the format options section does not include a way to retrieve the month as a number, which limits flexibility when formatting dates.
These formats are widely used in many countries, particularly in Europe, and their absence creates extra work for developers who need to implement custom formatting logic. Including these formats and the ability to represent the month as a number would significantly enhance usability and streamline the development process for applications targeting these regions.
The text was updated successfully, but these errors were encountered:
We are specifically not exposing custom format dates as a a string or something like that because it is close to impossible to unify across the libraries but as well it is generally a bad practice because Americans may be confused when you use dd/mm/yyyy and Europeans will be confused by American date format vice versa
Instead, we expose the localized versions of the date format that abstract same input but in a more localized manner. So in your case, you should use
Currently, component supports a variety of formats, but they lack native support for commonly used formats such as day/month/year (DD/MM/YYYY) , day/month/year hours:minutes (DD/MM/YYYY HH:MM) hours:minutes:seconds DD/MM/YYYY HH:MM:SS) format. Additionally, the format options section does not include a way to retrieve the month as a number, which limits flexibility when formatting dates.
These formats are widely used in many countries, particularly in Europe, and their absence creates extra work for developers who need to implement custom formatting logic. Including these formats and the ability to represent the month as a number would significantly enhance usability and streamline the development process for applications targeting these regions.
The text was updated successfully, but these errors were encountered: