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

Remove timex #48

Merged
merged 2 commits into from
Jul 8, 2015
Merged

Remove timex #48

merged 2 commits into from
Jul 8, 2015

Conversation

benwilson512
Copy link
Contributor

No description provided.


def iso_z_to_secs(<<date::binary-10, "T", time::binary-8, "Z">>) do
<<year::binary-4, "-", mon::binary-2, "-", day::binary-2>> = date
<<hour::binary-2, ":", min::binary-2, ":", sec::binary-2>> = time
Copy link
Contributor Author

Choose a reason for hiding this comment

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

On the one hand, I love binary pattern matching. On the other hand, stdlib time handling sucks.

benwilson512 added a commit that referenced this pull request Jul 8, 2015
@benwilson512 benwilson512 merged commit 8ca27a4 into master Jul 8, 2015
@benwilson512 benwilson512 deleted the remove-timex branch July 8, 2015 19:54
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.

1 participant