@@ -48,15 +48,15 @@ defmodule Calendar do
48
48
@ type std_offset :: integer
49
49
50
50
@ doc """
51
- Builds a new date from propletic year, month and day of month.
51
+ Builds a new date from proleptic year, month and day of month.
52
52
"""
53
53
@ callback date ( year , month , day ) :: { :ok , Date . t } | { :error , atom }
54
54
55
55
@ doc """
56
56
Returns true if the given year is a leap year.
57
57
58
58
A leap year is a year of a longer length than normal. The exact meaning
59
- is up to the calendar. A calendar must return `false` if does not support
59
+ is up to the calendar. A calendar must return `false` if it does not support
60
60
the concept of leap years.
61
61
"""
62
62
@ callback leap_year? ( year ) :: boolean
@@ -200,7 +200,7 @@ defmodule Date do
200
200
@ doc """
201
201
Parses the extended "Date and time of day" format described by ISO8601:2004.
202
202
203
- Raises it the format is invalid.
203
+ Raises if the format is invalid.
204
204
205
205
## Examples
206
206
@@ -465,7 +465,7 @@ defmodule Time do
465
465
@ doc """
466
466
Parses the extended "Local time" format described by ISO8601:2004.
467
467
468
- Raises it the format is invalid.
468
+ Raises if the format is invalid.
469
469
470
470
## Examples
471
471
@@ -788,7 +788,7 @@ defmodule NaiveDateTime do
788
788
@ doc """
789
789
Parses the extended "Date and time of day" format described by ISO8601:2004.
790
790
791
- Raises it the format is invalid.
791
+ Raises if the format is invalid.
792
792
793
793
## Examples
794
794
@@ -1131,7 +1131,7 @@ defmodule DateTime do
1131
1131
Only supports converting date times which are in the ISO calendar,
1132
1132
attempting to convert date times from other calendars will raise.
1133
1133
1134
- WARNING: the ISO8601 does contain the time zone nor its abbreviation,
1134
+ WARNING: the ISO8601 does not contain the time zone nor its abbreviation,
1135
1135
which means information is lost when converting to such format. This
1136
1136
is also why this module does not provide a `from_iso8601/1` function,
1137
1137
as it is impossible to build a proper `DateTime` from only the
0 commit comments