We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1200f commit b4845e6Copy full SHA for b4845e6
lib/elixir/lib/calendar/iso.ex
@@ -8,6 +8,12 @@ defmodule Calendar.ISO do
8
applied for all time, consequently the dates give different results
9
before the year 1583 from when the Gregorian calendar was adopted.
10
11
+ Given this is the default calendar used by Elixir, it has one
12
+ difference compared to the ISO8601 specification in that it allows
13
+ a whitespace instead of `T` as a seperator between date and times
14
+ both when parsing and formatting. Strict formatting can be done
15
+ by using the `to_iso8601` found in `NaiveDateTime` and `DateTime`.
16
+
17
Note that while ISO 8601 allows times and datetimes to specify
18
24:00:00 as the zero hour of the next day, this notation is not
19
supported by Elixir.
0 commit comments