Created
December 13, 2017 12:45
-
-
Save imetallica/3fde48d3c92b7321aa2d39a61a3117d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case DateTime.from_iso8601(Map.get(element, "createdTime")) do | |
{:error, reason} -> | |
IO.inspect(reason) | |
{:ok, parsed_datetime, 0} -> | |
IO.inspect(parsed_datetime) # Verifica o resultado daqui | |
# Manda pro ElasticSearch... | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment