SkillAgentSearch skills...

Iso8601

Parsing ISO8601 dates using nom

Install / Use

/learn @badboy/Iso8601
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

omnomnom - ~~Eating~~ Parsing ISO8601 dates using nom

crates.io docs.rs docs License: MIT Build status

omnomnom

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

Documentation is online.

License

MIT Licensed. See LICENSE

View on GitHub
GitHub Stars77
CategoryDevelopment
Updated23d ago
Forks25

Languages

Rust

Security Score

95/100

Audited on Mar 5, 2026

No findings