Date Formats, Phoenix and Ecto

There are two types of countries, those that use something other than the M/D/Y format and those that have been to the moon.

:slight_smile: couldn’t help myself.

2 Likes

A True Scotsman always uses ISO-8601 everywhere :joy: .

3 Likes

They very very much are! I prefer yyyy-mm-dd! :-)[quote=“Qqwy, post:22, topic:5220”]
A True Scotsman always uses ISO-8601 everywhere :joy: .
[/quote]

+1

Here is a very useful post on custom ecto date format: http://learningelixir.joekain.com/custom-types-in-ecto/