RTime
Summary
RTime is a random timestamp generator.
Installation
This app is intended to be used as a command-line utility.
Installation is as simple as,
gem install rtime
If you eventually develop a taste for rtime
's tiny API,
you may want to follow the steps below.
Add this line to your application's Gemfile:
gem 'rtime'
And then execute:
bundle
Usage
rtime generate <start_date> <end_date> <coverage> [--night-only]
Here's an example use case:
$ rtime g 20170127 20170203 60% --night-only
2017-01-28 20:48:48 +0000
2017-01-29 03:51:15 +0000
2017-01-31 01:15:47 +0000
2017-02-03 23:41:54 +0000
Contributing
If you are interested in contributing, please submit a pull request.