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

Changelog History
Page 4

  • v2.4.0 Changes

    May 12, 2020

    This is the changelog for Cldr_Dates_Times v2.4.0 released on May 4th, 2020. For older changelogs please consult the release tag on GitHub

    ✨ Enhancements

    • Add Cldr.Time.hour_format_from_locale/1 to return the hour formatted preferred for a locale

    • ➕ Add Cldr.DateTime.Formatter.hour/{2, 4} that formats the hour part of a time in accordance with locale preferences (including honouring the hc key of the u language tag extension)

    • ➕ Add format symbol ddd to return the day of the month with ordinal formatting. This not a CLDR standard format symbol.

    • ➕ Add protocol support for Cldr.Chars which is used by Cldr.to_string/1

  • v2.4.0-rc.0 Changes

    May 03, 2020

    ✨ Enhancements

    Add Cldr.Time.hour_format_from_locale/1 to return the hour formatted preferred for a locale

    ➕ Add Cldr.DateTime.Formatter.hour/{2, 4} that formats the hour part of a time in accordance with locale preferences (including honouring the hc key of the u language tag extension)

    ➕ Add format symbol ddd to return the day of the month with ordinal formatting. This not a CLDR standard format symbol.

    ➕ Add protocol support for Cldr.Chars which is used by Cldr.to_string/1

  • v2.3.0 Changes

    February 02, 2020

    This is the changelog for Cldr_Dates_Times v2.3.0 released on February 2nd, 2020. For older changelogs please consult the release tag on GitHub

    ✨ Enhancements

    • Adds backend modules MyApp.Cldr.Date, MyApp.Cldr.Time and MyApp.Cldr.DateTime that contain the functions to_string/2 and to_string!/2. This means all the ex_cldr family of libraries should now be primarily called on the backend modules. This makes aliasing easier too. For example:
    defmodule MyApp.Cldr do
      use Cldr, providers: [Cldr.Number, Cldr.DateTime], default_locale: "en"
    end
    
    defmodule MyApp do
      alias MyApp.Cldr
    
      def some_fun do
        Cldr.Date.to_string Date.utc_today()
      end
    end
    
  • v2.2.4 Changes

    January 14, 2020

    This is the changelog for Cldr_Dates_Times v2.2.4 released on January 14th, 2020. For older changelogs please consult the release tag on GitHub

    🐛 Bug Fixes

    • ⚡️ Update tests for Elixir 1.10 date/time inspection changes

    • 🛠 Fix dialyzer warning in generated backend

  • v2.2.3 Changes

    September 14, 2019

    This is the changelog for Cldr_Dates_Times v2.2.3 released on September 14th, 2019. For older changelogs please consult the release tag on GitHub

    🐛 Bug Fixes

    • Correctly uses a provided :backend option when validating the :locale option to the various to_string/3 calls. Thanks to @lostkobrakai. Closes #108 and #109.
  • v2.2.2 Changes

    August 31, 2019

    This is the changelog for Cldr_Dates_Times v2.2.2 released on August 31st, 2019. For older changelogs please consult the release tag on GitHub

    🔄 Changes & Deprecations

    • 💅 Deprecates the option :format on Cldr.DateTime.Relative.to_string/3 in favour of :style. :format will be removed with ex_cldr_dates_times version 3.0

    🐛 Bug Fixes

    • Return an error tuple immediately when a format code is used but no data is available to fulfill it
  • v2.2.1 Changes

    August 23, 2019

    This is the changelog for Cldr_Dates_Times v2.2.1 released on August 23rd, 2019. For older changelogs please consult the release tag on GitHub

    🐛 Bug Fixes

    • Fix @spec for Cldr.Date.to_string/3, Cldr.Time.to_string/3 and Cldr.DateTime.to_string/3 as well as the ! variants.
  • v2.2.0 Changes

    This is the changelog for Cldr_Dates_Times v2.2.0 released on August 23rd, 2019. For older changelogs please consult the release tag on GitHub

    💥 Breaking change

    • Support Elixir 1.8 and later only since this package depends on ex_cldr_calendars which requires Elixir 1.8.

    🐛 Bug Fixes

    • Fix references to Cldr.get_current_locale/0 to the current Cldr.get_locale/0

    • 🛠 Fix dialyzer warnings

  • v2.1.0 Changes

    This is the changelog for Cldr_Dates_Times v2.1.0 released on June 16th, 2019. For older changelogs please consult the release tag on GitHub

    ✨ Enhancements

    • All calling Date, Time and DateTime to_string/3 as to_string/1 omitting the backend and providing options. The backend will default to Cldr.default_backend(). An exception will be raised if there is no default backend.

    • Updates to ex_cldr_calendars 1.0 which includes Cldr.Calendar.week_of_month/1. The result corresponds to the W format which is now implemented as well.

  • v2.0.2 Changes

    This is the changelog for Cldr_Dates_Times v2.0.2 released on June 12th, 2019. For older changelogs please consult the release tag on GitHub

    🐛 Bug Fixes

    • Resolve the actual number system before transliterating a date, time or datetime. Closes #9. Thanks to @ribanez7 for the report.