HTML 5 geolocation code that works out if it's day or night
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
geo.js
index.html
sunrise.js

README

A combination of HTML 5 geolocation and Preston Hunt's sunrise and sunset
Javascript code (http://williams.best.vwh.net/sunrise_sunset_algorithm.htm)
to create a webpage which knows if it's day or night where you are.