Logger: Use Standard NaiveDateTime/DateTime type

28 views
Skip to first unread message

Stephan Epping

unread,
Jul 20, 2017, 7:33:52 AM7/20/17
to elixir-lang-core
I found that the Logger uses a custom tuple format for its timestamp


Wouldn't it be better to use the standard DateTime/NaiveDateTime types for that?

José Valim

unread,
Jul 20, 2017, 8:18:58 AM7/20/17
to elixir-l...@googlegroups.com
Such change would be backwards incompatible, that's why we are stuck with the custom format.

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/6f9b1e06-d3b9-4f06-88f7-2d14d18cee04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--


José Valim
Skype: jv.ptec
Founder and Director of R&D

Stephan Epping

unread,
Jul 20, 2017, 8:54:10 AM7/20/17
to elixir-lang-core, jose....@plataformatec.com.br
Makes sense. Maybe enable it via a config flag or do you have other plans handling such cases?
Reply all
Reply to author
Forward
0 new messages