Closed tjchambers closed 4 months ago
As a side comment I believe the docs WERE changed.
@tjchambers sorry for the inconvenience, there is no intent to change the public API so definitely a bug. I've fixed that and published ex_cldr_datetimes 2.19.2 with the following changelog entry:
Cldr.DateTime.Format.date_formats/3
which was incorrectly removed in version 2.19. Version 2.19 made efforts to improve the symmetry of Cldr.Date
, Cldr.Time
and Cldr.DateTime
. Part of that work is to have each of those modules contain the functions formats/3
and available_formats/3
. It was not intended at this time that the equivalent functions be removed from Cldr.DateTime.Format
. Thanks to @tjchambers for the report. Closes #51.Thanks again for the report.
The public API seems to have changed between version 2.18.1 and 2.19.1. Not suggesting this should mean a major version bump, but IMO it should be noted in the changelog as a change.
Example:
I believe this was changed from
DateTime.Format.date_formats
toDate.formats
.There may be similar other API changes.