A JavaScript calculator for adding and subtracting time.
npm install time-calculator
Now, all the files you need are in the node_modules/time-calculator directory
Download the .zip file of this repository. Extract the contents into a separate directory and open the index.html file in your browser.
- Do all the maths!
- The
:,+,-,=and all the number keys are mapped to the calculator as expected. - The
esckey is mapped to theClrbutton. - The
delete/backspacekey is mapped to theDelbutton. - Pressing
enterwill trigger the=operation. - Pressing
enterafter simply entring a number will convert that number into the correct time segments (try entering1000000then pressing enter).
