[Elixir]Calendar Type in Elixir 1.3

in Elixir 1.3, calendar type was introduced. Usually, we use except for NaiveDateTime in application layer. NaiveDateTime is for developers who develop 3rd party libraries.


Developers should avoid creating the NaiveDateTime struct directly and instead rely on the functions provided by this module as well as the ones in 3rd party calendar libraries.


So, we should use except for NaviDateTime at first on application layer.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.