What do you think of adding a convenience function:
`DateTime.to_utc(dt)`

Which would be a shortcut for:
`DateTime.shift_zone!(dt, "Etc/UTC")`

As converting back to UTC might be a common need for some applications, and 
writing systematically "Etc/UTC" is a bit ugly.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/c168ecd0-0b48-414b-854e-35642386b5d0n%40googlegroups.com.

Reply via email to