Changelog History
Page 2
-
v2.9.3 Changes
This is the changelog for Cldr_Dates_Times v2.9.3 released on September 20th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug fixes
- ๐ Fixes relative date and date time formatting when a
:relative_to
parameter and a:unit
parameter is specified. Thanks to @DaTrader for the report. Closes #25.
- ๐ Fixes relative date and date time formatting when a
-
v2.9.2 Changes
This is the changelog for Cldr_Dates_Times v2.9.2 released on August 14th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug fixes
Open interval formats can now also be called directly on the backend. For example:
iex> MyApp.Cldr.Date.Interval.to_string ~D[2020-01-01], nil {:ok, "Jan 1, 2020 โ"}
-
v2.9.1 Changes
This is the changelog for Cldr_Dates_Times v2.9.1 released on August 14th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug fixes
- When formatting an open interval (one side is
nil
) the backend functiondate_time_interval_fallback/2
is used to retrieve the format pattern. Previously this function was being called with default parameters. Now it is properly called with a locale and a calendar.
- When formatting an open interval (one side is
-
v2.9.0 Changes
This is the changelog for Cldr_Dates_Times v2.9.0 released on August 14th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug fixes
- ๐ Fix splitting interval formats when there is no repeating field. Use the principal that standalone formats are equivalent to normal formats when splitting. ie, for this purposes "L" == "M". This means the locale "fa" no longer raises an exception.
โจ Enhancements
- ๐ Allow formatting of intervals where one side is
nil
. This will produce an open-ended interval. Only one side of the interval can benil
. Thanks to @woylie for the request. Closes #23.
Examples
iex> Cldr.Date.Interval.to_string ~D[2020-01-01], nil, MyApp.Cldr, ...> format: :short {:ok, "1/1/20 โ"} iex> Cldr.Time.Interval.to_string ~U[2020-01-01 00:00:00.0Z], nil, MyApp.Cldr, ...> format: :long, style: :flex {:ok, "12:00:00 AM UTC โ"} iex> Cldr.DateTime.Interval.to_string ~U[2020-01-01 00:00:00.0Z], nil, MyApp.Cldr {:ok, "Jan 1, 2020, 12:00:00 AM โ"}
-
v2.8.0 Changes
This is the changelog for Cldr_Dates_Times v2.8.0 released on July 1st, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug fixes
- ๐ Fixes formatting time intervals that by checking for a format key of
:h
in addition to the:a
and:b
format keys (similar to issue #22).
โจ Enhancements
- ๐ฆ Updated to ex_cldr version 2.23.0 which changes the names of some of the field in the "-u-" extension to match the CLDR canonical name. In particular the field name
hour_cycle
changes tohc
. The values forhc
also change to the canonical forms of:h12
,:h11
,:h23
and:h24
.
- ๐ Fixes formatting time intervals that by checking for a format key of
-
v2.7.2 Changes
This is the changelog for Cldr_Dates_Times v2.7.2 released on May 6th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
- ๐ Fix regression time intervals where the start time is "a.m." and the end time is "p.m." and the format code is
:b
(previously assumed:a
). Thanks to @bryanlep for the report. Closes #22.
- ๐ Fix regression time intervals where the start time is "a.m." and the end time is "p.m." and the format code is
-
v2.7.1 Changes
This is the changelog for Cldr_Dates_Times v2.7.1 released on May 6th, 2021. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
- ๐ Fix formatting time intervals where the start time is "a.m." and the end time is "p.m.". Thanks to @sfusato for the report. Closes #21.
-
v2.7.0 Changes
This is the changelog for Cldr_Dates_Times v2.7.0 released on April 8th, 2021. For older changelogs please consult the release tag on GitHub
Data changes
- Some date and time formats have changed for some locales. This applies to interval date, time and datetime formats in
en
locale for example. Some time formats have also now changed inen
from 24-hour times toam/pm
formats.
โจ Enhancements
- โ Add support for CLDR 39
- Some date and time formats have changed for some locales. This applies to interval date, time and datetime formats in
-
v2.7.0-rc.0 Changes
This is the changelog for Cldr_Dates_Times v2.7.0-rc.0 released on March 19th, 2021. For older changelogs please consult the release tag on GitHub
Data changes
- Some date and time formats have changed for some locales. This applies to interval date, time and datetime formats in
en
locale for example. Some time formats have also now changed inen
from 24-hour times toam/pm
formats.
โจ Enhancements
- โ Add support for CLDR 39
- Some date and time formats have changed for some locales. This applies to interval date, time and datetime formats in
-
v2.6.4 Changes
This is the changelog for Cldr_Dates_Times v2.6.4 released on December 17th, 2020. For older changelogs please consult the release tag on GitHub
๐ Bug Fixes
โ Remove
xref
section from the project inmix.exs
. The fixes an error where the configuration forxref
was incorrect and causing compiler errors on some versions of Elixir. Closes #19. Thanks to @fertapric.๐ Make dependencies
eprof
anddialyixir
optional so that they aren't dragged into host apps unnecessarily.