y6nh / bells-and-watches Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Using the current date and my auto-detected location (which is pretty much right), here's what this is telling me:
`
Wed Aug 26 2020 at longitude -122.3063, latitude 47.6937.
Bell 1 6:19:21 AM
Bell 2 5:27:54 AM
Bell 3 4:36:26 AM
Bell 4 3:44:58 AM
Bell 5 2:53:30 AM
Bell 6 2:02:02 AM
Bell 7 1:10:34 AM
Bell 8 12:19:07 AM
Bell 9 11:27:39 PM
Bell 10 10:36:11 PM
Bell 11 9:44:43 PM
Bell 12 8:53:15 PM
Watch 1 8:01:47 PM
Watch 2 10:53:21 PM
Watch 3 1:44:56 AM
Watch 4 4:36:30 AM
Watch 5 7:28:05 AM
Watch 6 10:19:39 AM
Watch 7 1:11:14 PM
Watch 8 4:02:48 PM
Watch 9 6:54:23 PM
Watch 10 9:45:57 PM
Watch 11 12:37:32 AM
Watch 12 3:29:06 AM
Bell 1 6:19:21 AM
Bell 2 5:27:54 AM
Bell 3 4:36:26 AM
Bell 4 3:44:58 AM
Bell 5 2:53:30 AM
Bell 6 2:02:02 AM
Bell 7 1:10:34 AM
Bell 8 12:19:07 AM
Bell 9 11:27:39 PM
Bell 10 10:36:11 PM
Bell 11 9:44:43 PM
Bell 12 8:53:15 PM
Watch 1 8:01:47 PM
Watch 2 10:53:21 PM
Watch 3 1:44:56 AM
Watch 4 4:36:30 AM
Watch 5 7:28:05 AM
Watch 6 10:19:39 AM
Watch 7 1:11:14 PM
Watch 8 4:02:48 PM
Watch 9 6:54:23 PM
Watch 10 9:45:57 PM
Watch 11 12:37:32 AM
Watch 12 3:29:06 AM
`
On a different browser, with a different auto-detected location, I get something where time at least goes in the right direction but night and day are not split correctly:
`
Wed Aug 26 2020 at longitude 0.0000, latitude 51.4767.
Bell 1 10:02:21 PM
Bell 2 11:12:11 PM
Bell 3 12:22:01 AM
Bell 4 1:31:51 AM
Bell 5 2:41:42 AM
Bell 6 3:51:32 AM
Bell 7 5:01:22 AM
Bell 8 6:11:12 AM
Bell 9 7:21:03 AM
Bell 10 8:30:53 AM
Bell 11 9:40:43 AM
Bell 12 10:50:33 AM
Watch 1 12:00:24 PM
Watch 2 12:50:41 PM
Watch 3 1:40:59 PM
Watch 4 2:31:17 PM
Watch 5 3:21:34 PM
Watch 6 4:11:52 PM
Watch 7 5:02:10 PM
Watch 8 5:52:27 PM
Watch 9 6:42:45 PM
Watch 10 7:33:03 PM
Watch 11 8:23:20 PM
Watch 12 9:13:38 PM
`
First browser is Chrome 84.0.4147.135, second is Safari 12.1.2.
Was just chatting about this with Kathryn, who not only gets correct results but also has a 24-hour clock display (of which I'm envious). Smells like maybe some kind of locale problem? I've got things set to EN/US.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.