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

Parse function with support for decimal seconds #31

Merged
merged 2 commits into from
Sep 22, 2016

Conversation

aseigo
Copy link
Contributor

@aseigo aseigo commented Jul 12, 2016

Provides a parse function, parse_exact/1, that preserves the second decimals. We use this in a project that processes timestamped events with sub-second accuracy which must be kept in correct temporal order.

parse/1 retains old behavior for backwards compatibility

aseigo added 2 commits July 12, 2016 10:44
parse retains old behavior for backwards compatibility
@oubiwann
Copy link
Member

Looks great -- thanks for the tests (and, of course, the new feature!)

@oubiwann oubiwann merged commit ee3886d into erlsci:master Sep 22, 2016
@aseigo aseigo deleted the support_decimal_seconds branch September 25, 2016 07:55
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.

2 participants