Dateseq
Generate date sequence like seq command
Installation
Add this line to your application's Gemfile:
gem 'dateseq'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dateseq
Usage
$ dateseq [OPTIONS] FROM_DATE TO_DATE
$ dateseq 20140602 20140605
20140602
20140603
20140604
20140605
Options:
-f, --format FORMAT Set date format (default is '%Y%m%d')
-s, --separator SEP Set separator charactor (default is '\n')
-i, --increments NUM Set date increment steps (default is 1)
-m, --monthly Set to monthly mode
-h, --help Show this message
-v, --version Show version
Contributing
- Fork it ( http://github.com/
/dateseq/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request