diff options
author | Alan Walton <aawalton@gmail.com> | 2018-11-02 09:57:05 -0600 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2018-11-02 16:57:19 +0100 |
commit | 20d6f3d0538cef346475ccfcc1c72a47f33f0717 (patch) | |
tree | 67f2a1143f2837d55ec4571fecbf5b7b5479f813 | |
parent | ac9e64382a995d49a09586174e42c4dc2064f844 (diff) | |
download | elixir-20d6f3d0538cef346475ccfcc1c72a47f33f0717.tar.gz |
Fix misleading doc string (#8355)
naive_datetime_to_iso_days takes a datetime without time zone
-rw-r--r-- | lib/elixir/lib/calendar.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/calendar.ex b/lib/elixir/lib/calendar.ex index bcea952cb..a156269c3 100644 --- a/lib/elixir/lib/calendar.ex +++ b/lib/elixir/lib/calendar.ex @@ -148,7 +148,7 @@ defmodule Calendar do @callback time_to_string(hour, minute, second, microsecond) :: String.t() @doc """ - Converts the given datetime (with time zone) into the `t:iso_days/0` format. + Converts the given datetime (without time zone) into the `t:iso_days/0` format. """ @callback naive_datetime_to_iso_days(year, month, day, hour, minute, second, microsecond) :: iso_days |