A short 2-hour project for experimenting with cookies and their expiration times.
Starting philosophy was that if cookies expired by themselves then they could be viewed as a (self cleaning) timer. After some investigation I found out that expiration dates aren't accessiable from client-side, so now everything is baked into the cookie value instead...
Local storage is looking good ._.
- install node js
- pull and run
node server.js
- browse to localhost:8080
- enjoy all your timing needs
- terminate timer by clicking on it
The timer parser currently accepts the following:
13h:4m:22s -- offset into the future, accepts any combination
13:04:22 -- specific time today, or tomorrow if time has passed
MIT