From aabd8376efcf199bcffdd54afca63ffd42c483d9 Mon Sep 17 00:00:00 2001 From: Kip Cole Date: Fri, 27 Oct 2023 07:42:53 +0700 Subject: [PATCH] Update version and changelog --- CHANGELOG.md | 6 +++++- mix.exs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 399cc26..e1dd948 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ **Note that `ex_cldr_dates_times` version 2.14.0 and later are supported on Elixir 1.11 and later only.** -## Cldr_Dates_Times v2.15.1 +## Cldr_Dates_Times v2.16.0 This is the changelog for Cldr_Dates_Times v2.15.1 released on October 26th, 2023. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr_cldr_dates_times/tags) @@ -10,6 +10,10 @@ This is the changelog for Cldr_Dates_Times v2.15.1 released on October 26th, 202 * Fix formatting time intervals when the `to` time is not greater than the `from` time. This allows time intervals that cross midnight to be formatted correctly. Thanks to @larshei for the report. Closes #42. +### Enhancements + +* Adds options `:date_format` and `:time_format` to `Cldr.DateTime.Interval.to_string/2` and `Cldr.DateTime.to_string/2`. These options allow separate formatting of the date and time parts of a datetime, including those that are part of an interval. Thanks to @jmoldrich2b for the report (and patience). Closes #33. + ## Cldr_Dates_Times v2.15.0 This is the changelog for Cldr_Dates_Times v2.15.0 released on October 17th, 2023. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-cldr/cldr_cldr_dates_times/tags) diff --git a/mix.exs b/mix.exs index 4454942..8835ab7 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Cldr.DatesTimes.Mixfile do use Mix.Project - @version "2.15.1" + @version "2.16.0" def project do [