All Versions
42
Latest Version
Avg Release Cycle
29 days
Latest Release
-

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.
  • 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 function date_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.
  • 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 be nil. 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 to hc. The values for hc also change to the canonical forms of :h12, :h11, :h23 and :h24.
  • 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.
  • 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 in en from 24-hour times to am/pm formats.

    ✨ Enhancements

  • 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 in en from 24-hour times to am/pm formats.

    ✨ Enhancements

  • 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 in mix.exs. The fixes an error where the configuration for xref was incorrect and causing compiler errors on some versions of Elixir. Closes #19. Thanks to @fertapric.

    • 👉 Make dependencies eprof and dialyixir optional so that they aren't dragged into host apps unnecessarily.