* start to fix cron for when timezones change * add some incomplete code * change cron to identify when timezone changes and run only if both zones agree it should run - BAD - does cron an hour early one day later * change timezone offset variable names * improve handling of each individual timezone change possibility * remove unnecessary casting to number * remove duplicated code * finish code for dangerous timezone change * fix linting errors * remove console.log lines and other testing code * add a TODO comment for further actions for timezone changes in the "safe" direction
Habitica

Habitica is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor.
We need more programmers! Your assistance will be greatly appreciated.
For an introduction to the technologies used and how the software is organized, refer to Contributing to Habitica - "Coders (Web & Mobile)" section.
To set up a local install of Habitica for development and testing, see Setting up Habitica Locally, which contains instructions for Windows, *nix / Mac OS, and Vagrant.
Then read Guidance for Blacksmiths for additional instructions and useful tips.
Debug Scripts
In the ./debug-scripts/ folder, there are a few files. Here's a sample:
grant-all-equipment.js
grant-all-mounts.js
grant-all-pets.js
You can run them by doing:
node debug-scripts/name-of-script.js
If there are more arguments required to make the script work, it will print out the usage and an explanation of what the script does.