erlsci / iso8601

An ISO 8601 date formating and parsing library for Erlang
MIT License
130 stars 93 forks source link

Parse function with support for decimal seconds #31

Closed aseigo closed 8 years ago

aseigo commented 8 years ago

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

oubiwann commented 8 years ago

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