Skip to content

Commit 28ee5bf

Browse files
JEG2José Valim
authored andcommitted
Fix a copy and paste error in the documentation (#6408)
1 parent ba85d13 commit 28ee5bf

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

lib/elixir/lib/calendar/date.ex

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,9 @@ defmodule Date do
221221
end
222222

223223
@doc """
224-
Parses the extended "Date and time of day" format described by
224+
Parses the extended "Dates" format described by
225225
[ISO 8601:2004](https://en.wikipedia.org/wiki/ISO_8601).
226226
227-
Timezone offset may be included in the string but they will be
228-
simply discarded as such information is not included in naive date
229-
times.
230-
231-
Time representations with reduced accuracy are not supported.
232-
233227
## Examples
234228
235229
iex> Date.from_iso8601("2015-01-23")
@@ -261,7 +255,7 @@ defmodule Date do
261255
end
262256

263257
@doc """
264-
Parses the extended "Date and time of day" format described by
258+
Parses the extended "Dates" format described by
265259
[ISO 8601:2004](https://en.wikipedia.org/wiki/ISO_8601).
266260
267261
Raises if the format is invalid.

0 commit comments

Comments
 (0)