erlsci / iso8601

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

Support fractional time #2

Closed seansawyer closed 12 years ago

seansawyer commented 12 years ago

http://en.wikipedia.org/wiki/ISO_8601#Times

seansawyer commented 12 years ago

Fixed in a708d03f83. Note that while this adds support for parsing decimal time parts, it does not add any additional precision to the returned iso8601:datetime/0 tuple. The decimal part is essentially applied as a rounded offset in seconds; as a result, the returned value still has a resolution of seconds at best.