mirror of https://github.com/espruino/BangleApps
Also make a fresh `fourTwentyTz.js` from latest timezonedb.com CSV zip. |
||
---|---|---|
.. | ||
.gitignore | ||
ChangeLog | ||
README.md | ||
app-icon.js | ||
app.js | ||
app.png | ||
fourTwenty.js | ||
fourTwentyTz.js | ||
metadata.json | ||
mkFourTwentyTz.js | ||
package.json | ||
screenshot.png | ||
screenshot1.png |
README.md
Four Twenty Clock
A clock that tells when and where it's going to be 4:20 next
Generating fourTwentyTz.js
Once in a while we need to regenerate it for 2 reasons:
- One or more places got in or out of daylight saving time (DST) mode.
- The database saying when places enter/exit DST mode got updated.
I'll do my best to release a new version every time this happens, but if you ever need to do this yourself, here's how:
cd
to theftclock
folder- If you haven't done so yet, run
npm install
there (this would create thenode_modules
folder). - Get and unzip the latest
timezone.csv.zip
from https://timezonedb.com/download - Run
npm run make