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/