Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

date-calculator

A minuscule tool for doing date calculations with basic natural language support. First add in your starting date, and then either add or subtract time, or add a second date. We'll do the rest, and give you a range of useful time formats. Created for fun, modified for the 10k apart contest.

Check out the live demo here

The page currently sits at 3.7KB after minification + gzipping

What we did to squeeze our website into as few kibbles as possible:

  • HTML/CSS/JavaScript minification
  • As much JavaScript encapsulation as possible to get maximum minification.
  • Minimal class/variable names
  • Gzipping

Installation

  • Run npm install to install dependencies
  • Run node app.js to run the server

Compilation:

Run make, which will run our ruby script to generate index.html (minified), and index.html.gz (minified + gzipped)

Ruby gems used:

Created by: Sunmock (Sunny) Yang and Russell (Rusty) Baylis

About

Quickly make calculations involving dates and time intervals

Resources

Releases

No releases published
You can’t perform that action at this time.