Skip to content

Commit

Permalink
Fix doc generation errors. Closes #34
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Nov 12, 2022
1 parent 689d6fd commit f669c7f
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 32 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Cldr_Dates_Times v2.13.1

This is the changelog for Cldr_Dates_Times v2.13.1 released on November 12th, 2022. For older changelogs please consult the release tag on [GitHub](https:/elixir-cldr/cldr_cldr_dates_times/tags)

### Bug Fixes

* Fixes doc generation errors (no functional changes to executing code). Closes #34. THanks to @sax for the report and the PR.

## Cldr_Dates_Times v2.13.0

This is the changelog for Cldr_Dates_Times v2.13.0 released on October 19th, 2022. For older changelogs please consult the release tag on [GitHub](https:/elixir-cldr/cldr_cldr_dates_times/tags)
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/backend/interval.ex
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ defmodule Cldr.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -223,7 +223,7 @@ defmodule Cldr.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -353,7 +353,7 @@ defmodule Cldr.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -464,7 +464,7 @@ defmodule Cldr.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/backend/interval/date.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ defmodule Cldr.Date.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -192,7 +192,7 @@ defmodule Cldr.Date.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -300,7 +300,7 @@ defmodule Cldr.Date.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -406,7 +406,7 @@ defmodule Cldr.Date.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/backend/interval/date_time.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ defmodule Cldr.DateTime.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -149,7 +149,7 @@ defmodule Cldr.DateTime.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -237,7 +237,7 @@ defmodule Cldr.DateTime.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -306,7 +306,7 @@ defmodule Cldr.DateTime.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval.
Expand Down
4 changes: 2 additions & 2 deletions lib/cldr/backend/interval/time.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ defmodule Cldr.Time.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configured locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
time is formatted instead of an interval
Expand Down Expand Up @@ -180,7 +180,7 @@ defmodule Cldr.Time.Interval.Backend do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configured locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
time is formatted instead of an interval
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/interval.ex
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ defmodule Cldr.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -529,7 +529,7 @@ defmodule Cldr.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -681,7 +681,7 @@ defmodule Cldr.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down Expand Up @@ -800,7 +800,7 @@ defmodule Cldr.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date, time or datetime is formatted instead of an interval
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/interval/date.ex
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ defmodule Cldr.Date.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -292,7 +292,7 @@ defmodule Cldr.Date.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -501,7 +501,7 @@ defmodule Cldr.Date.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -602,7 +602,7 @@ defmodule Cldr.Date.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down
8 changes: 4 additions & 4 deletions lib/cldr/interval/date_time.ex
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ defmodule Cldr.DateTime.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
datetime is formatted instead of an interval
Expand Down Expand Up @@ -229,7 +229,7 @@ defmodule Cldr.DateTime.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -417,7 +417,7 @@ defmodule Cldr.DateTime.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down Expand Up @@ -489,7 +489,7 @@ defmodule Cldr.DateTime.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configuration locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
date is formatted instead of an interval
Expand Down
4 changes: 2 additions & 2 deletions lib/cldr/interval/time.ex
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ defmodule Cldr.Time.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configured locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
time is formatted instead of an interval
Expand Down Expand Up @@ -330,7 +330,7 @@ defmodule Cldr.Time.Interval do
* The available predefined formats that can be applied are the
keys of the map returned by `Cldr.DateTime.Format.interval_formats("en", :gregorian)`
where `"en"` can be replaced by any configured locale name and `:gregorian`
is the underlying `CLDR` calendar type.
is the underlying CLDR calendar type.
* In the case where `from` and `to` are equal, a single
time is formatted instead of an interval
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Cldr.DatesTimes.Mixfile do
use Mix.Project

@version "2.13.0"
@version "2.13.1"

def project do
[
Expand Down
6 changes: 3 additions & 3 deletions src/datetime_format_lexer.erl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-file("/Users/kip/.asdf/installs/erlang/25.0/lib/parsetools-2.4/include/leexinc.hrl", 0).
-file("/Users/kip/.asdf/installs/erlang/25.1/lib/parsetools-2.4.1/include/leexinc.hrl", 0).
%% The source of this file is part of leex distribution, as such it
%% has the same Copyright as the other files in the leex
%% distribution. The Copyright is defined in the accompanying file
Expand All @@ -22,7 +22,7 @@ unquote([_ | Tail]) ->
[_ | Rev] = lists:reverse(Tail),
lists:reverse(Rev).

-file("/Users/kip/.asdf/installs/erlang/25.0/lib/parsetools-2.4/include/leexinc.hrl", 14).
-file("/Users/kip/.asdf/installs/erlang/25.1/lib/parsetools-2.4.1/include/leexinc.hrl", 14).

format_error({illegal,S}) -> ["illegal characters ",io_lib:write_string(S)];
format_error({user,S}) -> S.
Expand Down Expand Up @@ -948,4 +948,4 @@ yyaction_39(TokenLine) ->
yyaction_40(TokenChars, TokenLine) ->
{ token, { literal, TokenLine, 'Elixir.List' : to_string (TokenChars) } } .

-file("/Users/kip/.asdf/installs/erlang/25.0/lib/parsetools-2.4/include/leexinc.hrl", 313).
-file("/Users/kip/.asdf/installs/erlang/25.1/lib/parsetools-2.4.1/include/leexinc.hrl", 313).

0 comments on commit f669c7f

Please sign in to comment.