Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

arnau/ISO8601

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7d93f99 · Apr 30, 2021
Apr 30, 2021
May 21, 2016
Aug 22, 2020
Aug 22, 2020
Sep 30, 2017
Sep 30, 2017
Aug 22, 2020
Jul 5, 2020
Jul 5, 2020
Dec 9, 2017
Jul 4, 2020
Jul 4, 2020
Jun 19, 2020
Aug 22, 2020
Jul 5, 2020
Jul 5, 2020
Aug 22, 2020

Repository files navigation

ISO8601

New maintainer wanted

Version 0.9.0 is not compatible with previous versions. Atoms and Durations changed their interface when treating base dates so it is only applied when computing the Atom length (e.g. #to_seconds). As a consequence, it is no longer possible to do operations like DateTime + Duration.

Version 1.0.0 will lock public interfaces.

Check the changelog if you are upgrading from an older version.

ISO8601 is a simple implementation of the ISO 8601 (Data elements and interchange formats — Information interchange — Representation of dates and times) standard.

Build status

Build Status Gem Version

Supported versions

  • MRI 2.5, 2.6, 2.7

Documentation

Check the rubydoc documentation. Or take a look to the implementation notes:

Testing

Install a Ruby version. E.g. you can install Ruby 2.7 with:

$ nix-shell

Then

$ bundle install
$ bundle exec rake

Contributing

Contributors

Please see CONTRIBUTING.md

License

Arnau Siches under the MIT License