Description
Describe the change you would like to see
I'm trying to use the Date Time Picker for a form field and i only need the year,month and day part, i do not need the hours and minutes of the day, and thus i do not want to show my users the hour and minute section in their forms value, most of the time its 00:00 which looks kinda bad. In response to which i tried to use the format field but the value it takes is a DateFormat, which is not included within the package itself.
How would the suggested change make the documentation more useful?
At the least I think, the documentation should mention that DateFormat is from the intl package. I personally have never used the package so I had no way of knowing that DateFormat is from that package.
The best solution would be to just re-export DateFormat from the intl package in this package too. Since i don't think that everyone might use the package itself, so having it re-exported from here would remove the need to add intl as a direct dependency to the user's project. Of course if theres any specific reason to not do it, then mentioning in the documentation is fine.
I only managed to find out that its from intl is because i needed the solution and ended up looking into the source code, even then it wasn't clear so i went to look up intl's api reference since the file imported the package.
Aditional information
Docs don't have a clickable link to the definition of DateFormat
Metadata
Metadata
Assignees
Type
Projects
Status