Skip to content

Commit

Permalink
Fix some doc comment warnings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Munksgaard committed Dec 19, 2024
1 parent 7311328 commit 3a5a7c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/cldr/backend/date_time.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 3a5a7c0

Please sign in to comment.