iso8601 date and time parsing and formatting implemenetation for erlang