Parsing ISO8601 dates using nom

License: MIT

Language: Rust

omnomnom - Eating Parsing ISO8601 dates using nom Build Status


let datetime = iso8601::datetime("2015-06-26T16:43:23+0200").unwrap();

// the above will give you:
DateTime {
    date: Date::YMD {
        year: 2015,
        month: 6,
        day: 26,
    time: Time {
        hour: 16,
        minute: 43,
        second: 23,
        tz_offset_hours: 2,
        tz_offset_minutes: 0,

Still rough around the edges, though it won't fail with timezone offsets of half an hour anymore. It's also safe for kittens now.


Documentation is online.


MIT Licensed. See LICENSE

Project Statistics

Sourcerank 10
Repository Size 5.72 MB
Stars 33
Forks 12
Watchers 2
Open issues 0
Dependencies 1
Contributors 12
Tags 3
Last updated
Last pushed

Top Contributors See all

Jan-Erik Rediger Hendrik Sollich Homu Pascal Hertleif Geoffroy Couprie not-a-robot Chris Couzens Arnar Birgisson kpcyrd iamdanfox Matthias Beyer

Packages Referencing this Repo

Parsing ISO8601 dates using nom
Latest release 0.3.0 - Updated - 33 stars

Recent Tags See all

v0.3.0 January 31, 2019
v0.2.0 November 06, 2017
v0.1.0 November 03, 2015

Something wrong with this page? Make a suggestion

Last synced: 2019-01-31 13:57:26 UTC

Login to resync this repository