Skip to content
Ruby parser to work with ISO8601 dateTimes and durations — http://en.wikipedia.org/wiki/ISO_8601
Ruby Makefile
Find file
Latest commit 25f6d8d Dec 13, 2015 @arnau Merge branch 'releases/0.9.0'

README.md

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 Dependency Status Gem Version

Supported versions

  • MRI 2.x
  • RBX 2
  • 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 rbx-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

Something went wrong with that request. Please try again.