This script will create a request for change on Dale Ponto based on Toggl registers.
ATENTION: The request will be created even if you have a punch or an another request on the same time.
After cloning the repository.
bundle install
cp .env{.sample,}Then edit your env variables.
You will pass as arguments the start date and the finish date.
If the env REAL_PUNCH is true the request will be sent, Also this script only will output the dates.
ruby conver.rb 2019-12-16 2019-12-18The code is available as open-source under the terms of the MIT License.