No description
Find a file
2023-08-15 13:03:18 -05:00
.gitignore Initial commit 2023-05-16 13:58:40 +00:00
index.mjs explicit hourCycle 2023-08-15 12:01:45 -05:00
LICENSE Initial commit 2023-05-16 13:58:40 +00:00
package-lock.json readd bin script 2023-05-19 13:40:38 +02:00
package.json readd bin script 2023-05-19 13:40:38 +02:00
README.md 📝 update example 2023-08-15 13:03:18 -05:00

tc39-times

Usage

You can run the tool on any computer with npm installed by running the following command

npx git+https://git.disroot.org/ryzokuken/tc39-times.git <date> <timezone>

Local Usage

If you have a local checkout of the script on your computer, you can run it by executing the following in the project directory

node index.mjs <date> <timezone>

Example

node index.mjs 2023-09-26 Asia/Tokyo

Example Output

2023-09-26

18:00-20:00 PDT
20:00-22:00 CDT
02:00-04:00 BST
03:00-05:00 CEST

21:00-23:00 PDT
23:00-01:00 CDT
05:00-07:00 BST
06:00-08:00 CEST

23:00-01:00 PDT
01:00-03:00 CDT
07:00-09:00 BST
08:00-10:00 CEST

2023-09-27

18:00-20:00 PDT
20:00-22:00 CDT
02:00-04:00 BST
03:00-05:00 CEST

21:00-23:00 PDT
23:00-01:00 CDT
05:00-07:00 BST
06:00-08:00 CEST

23:00-01:00 PDT
01:00-03:00 CDT
07:00-09:00 BST
08:00-10:00 CEST

2023-09-28

18:00-20:00 PDT
20:00-22:00 CDT
02:00-04:00 BST
03:00-05:00 CEST

21:00-23:00 PDT
23:00-01:00 CDT
05:00-07:00 BST
06:00-08:00 CEST

23:00-01:00 PDT
01:00-03:00 CDT
07:00-09:00 BST
08:00-10:00 CEST

2023-09-29

18:00-20:00 PDT
20:00-22:00 CDT
02:00-04:00 BST
03:00-05:00 CEST

21:00-23:00 PDT
23:00-01:00 CDT
05:00-07:00 BST
06:00-08:00 CEST

23:00-01:00 PDT
01:00-03:00 CDT
07:00-09:00 BST
08:00-10:00 CEST