Giter Site home page Giter Site logo

daylight.website's Introduction

daylight.website

# Installation
npm install  #  download all dependencies

# Development
npm run dev    # start dev server
npm run types  # start type checking
npm run test   # run unit tests

# Production (outputs to docs/)
npm run build  # run production build

# Code formatting (optional: most editors can handle these themselves)
npm run format    # run all formatters
npm run prettier  # run prettier on src
npm run eslint    # run eslint on src

daylight.website's People

Contributors

alexburner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

daylight.website's Issues

Breaks when loading across timezones

The location gets saved to localstorage, and taking a device across timezones confuses it

Workaround: add "#reset" to the URL and load it again to flush the cache

Unknown error acquiring position

When visiting https://daylight.website/, I keep getting an »Unknown error acquiring position« although I have permanently allowed my browser to transmit my geolocation.

I’m at 48.240, 10.359 and tested this with Firefox 60.0.1 and Chromium 65.0.3325.181, both under Ubuntu 14.04.5 and Linux Mint 17.3.

Negative numbers when left open

Hi there, great site, I keep it open all the time.

Sometimes when I open it in the morning, say at 10am, it shows a negative number like "-2h 55m until sunrise". The visuals are otherwise accurate. Then when I refresh the page, it shows the correct text: "9h 20m until sunset".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.