Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Arrow to parse datetimes #427

Merged
merged 1 commit into from
Jan 5, 2017
Merged

Use Arrow to parse datetimes #427

merged 1 commit into from
Jan 5, 2017

Conversation

jmcs
Copy link
Member

@jmcs jmcs commented Jan 2, 2017

As the test was failing on my machine I think our function was not robust enough, so it's a good idea not to reinvent the wheel and use a well tested module for parsing the date.

@coveralls
Copy link

coveralls commented Jan 2, 2017

Coverage Status

Coverage decreased (-0.01%) to 89.879% when pulling 2e02eb5 on use-arrow into 7e8d748 on master.

local = utc + utc_offset
return local.timestamp()
except:
dtime = arrow.get(s).datetime
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💅 beautiful.

@rafaelcaricio
Copy link
Contributor

👍

@jmcs jmcs merged commit a72ed3b into master Jan 5, 2017
@tuxlife tuxlife deleted the use-arrow branch June 15, 2017 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants