From 3a5a7c073f244dad9a8fee307a8f547905efdb4d Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Thu, 19 Dec 2024 21:55:03 +0100 Subject: [PATCH] Fix some doc comment warnings There were a few backticks missing, which was messing up the generated documentation. Similarly, it seems like `date_time_formats/3` might have moved from `Cldr.DateTime` to `Cldr.DateTime.Format` at some point. --- lib/cldr/backend/date_time.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cldr/backend/date_time.ex b/lib/cldr/backend/date_time.ex index cc39310..db51503 100644 --- a/lib/cldr/backend/date_time.ex +++ b/lib/cldr/backend/date_time.ex @@ -23,7 +23,7 @@ defmodule Cldr.DateAndTime.Backend do ## Options * `:format` is one of `:short`, `:medium`, `:long`, `:full` or a format string or - any of the keys in the map returned by `Cldr.DateTime.date_time_formats/3`. + any of the keys in the map returned by `Cldr.DateTime.Format.date_time_formats/3`. The default is `:medium`. See [here](README.md#date-time-and-datetime-localization-formats) for more information about specifying formats. @@ -110,7 +110,7 @@ defmodule Cldr.DateAndTime.Backend do ## Options * `:format` is one of `:short`, `:medium`, `:long`, `:full` or a format string or - any of the keys in the map returned by `Cldr.DateTime.date_time_formats/3`. + any of the keys in the map returned by `Cldr.DateTime.Format.date_time_formats/3`. The default is `:medium`. See [here](README.md#date-time-and-datetime-localization-formats) for more information about specifying formats. @@ -354,7 +354,7 @@ defmodule Cldr.DateAndTime.Backend do * `time` is a `t:Time.t/0` struct or any map that contains one or more of the keys `:hour`, `:minute`, `:second` and optionally `:microsecond`, - `:time_zone`, `:zone_abbr`, `:utc_offset` and `:std_offset. + `:time_zone`, `:zone_abbr`, `:utc_offset` and `:std_offset`. * `options` is a keyword list of options for formatting. @@ -432,7 +432,7 @@ defmodule Cldr.DateAndTime.Backend do * `time` is a `t:Time.t/0` struct or any map that contains one or more of the keys `:hour`, `:minute`, `:second` and optionally `:microsecond`, - `:time_zone`, `:zone_abbr`, `:utc_offset` and `:std_offset. + `:time_zone`, `:zone_abbr`, `:utc_offset` and `:std_offset`. * `options` is a keyword list of options for formatting.