BangleApps/apps/ftclock/README.md

25 lines
841 B
Markdown
Raw Normal View History

2021-12-20 23:34:30 +00:00
# Four Twenty Clock
A clock that tells when and where it's going to be [4:20](https://en.wikipedia.org/wiki/420_%28cannabis_culture%29) next
2021-12-20 23:34:30 +00:00
![screensot](screenshot.png) ![screenshot at 4:20](screenshot1.png)
## Generating `fourTwentyTz.js`
2021-12-20 23:34:30 +00:00
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 the `ftclock` folder
* If you haven't done so yet, run `npm install` there (this would create the `node_modules` folder).
* Get and unzip the latest `timezone.csv.zip` from https://timezonedb.com/download
* Run `npm run make`
2021-12-20 23:34:30 +00:00
## Creator
[Nimrod Kerrett](zzzen.com)