ISO8601

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.

Gitter

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.x
  • JRuby 9

Documentation

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

Testing

Docker

# Install Docker
$ make install
$ make test

You can alse target specific runtimes:

$ make mri-test
$ make jruby-test

Raw

The old fashion way:

# Install a Ruby flavour
$ bundle install
$ bundle exec rspec

Contributing

Contributors

Please see CONTRIBUTING.md

License

Arnau Siches under the MIT License