Skip to content

Commit 23742f1

Browse files
committed
Correct datetime types spelling in Calendar
1 parent 3f9ffbe commit 23742f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/elixir/lib/calendar.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ defmodule Calendar do
5757
@type time :: %{optional(any) => any, hour: hour, minute: minute, second: second, microsecond: microsecond}
5858

5959
@typedoc "Any map/struct that contains the naive_datetime fields"
60-
@type naive_date_time :: %{optional(any) => any, calendar: calendar, year: year, month: month, day: day,
61-
hour: hour, minute: minute, second: second, microsecond: microsecond}
60+
@type naive_datetime :: %{optional(any) => any, calendar: calendar, year: year, month: month, day: day,
61+
hour: hour, minute: minute, second: second, microsecond: microsecond}
6262

6363
@typedoc "Any map/struct that contains the datetime fields"
64-
@type date_time :: %{optional(any) => any, calendar: calendar, year: year, month: month, day: day,
65-
hour: hour, minute: minute, second: second, microsecond: microsecond,
66-
time_zone: time_zone, zone_abbr: zone_abbr, utc_offset: utc_offset, std_offset: std_offset}
64+
@type datetime :: %{optional(any) => any, calendar: calendar, year: year, month: month, day: day,
65+
hour: hour, minute: minute, second: second, microsecond: microsecond,
66+
time_zone: time_zone, zone_abbr: zone_abbr, utc_offset: utc_offset, std_offset: std_offset}
6767

6868
@doc """
6969
Returns how many days there are in the given year-month.

0 commit comments

Comments
 (0)