Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daylight Project Submission #24

Open
1 of 6 tasks
mariusjagminas opened this issue Nov 22, 2019 · 9 comments
Open
1 of 6 tasks

Daylight Project Submission #24

mariusjagminas opened this issue Nov 22, 2019 · 9 comments

Comments

@mariusjagminas
Copy link

Project Name / Title

Daylight

Your Name/Title

mariusJagminas

Project Description

The changing length of days and nights depends on the location and time of the year. It would be nice to know how many hours of daylight we have in a specific location.
The website will show sunset and sunrise times for a selected location.

What 3rd Party API(s) will you integrate with?

  • GeoNames
    • To discover the longitude & latitude for the location
    • To get a sunrise & sunset times from long/lat.

Which of the following describes you:

  • YouTube Subscriber
  • Twitch Follower
  • Patreon Patron
  • Superchat Donor
  • Streamlabs Donor
  • Coding Garden Moderator
@mariusjagminas
Copy link
Author

Submitted / Description under review

@w3cj
Copy link
Member

w3cj commented Nov 23, 2019

Looks good to me! Feel free to get started.

@mariusjagminas
Copy link
Author

The app is done and deployed now https://day-light.netlify.com/

@w3cj
Copy link
Member

w3cj commented Dec 2, 2019

Would you like a ui review or code review?

@mariusjagminas
Copy link
Author

I would love to receive a code review

@klemenjarc
Copy link

klemenjarc commented Dec 19, 2019

Nice! I had very similar idea a few months ago. At the time I was thinking of app having one more feature. The app would also tell on which date the length of the day is the same as today. For example: "Today 19. 12. 2019 the length of the day is 8h and 40min, the day will be of the same length on 23. 12. 2019".

@mariusjagminas
Copy link
Author

Thanks ! That would be a nice feature for this app. I will look at the API, if it can be implemented.

@mariusjagminas
Copy link
Author

klemenjarc I added the feature that you mentioned. The API does not provide a ready solution, so I had to calculate the date from the solstice point. It's not 100% accurate, but for general use should be ok.

@klemenjarc
Copy link

I like it. Especially in autumn I often find myself imagining when in spring is the length of the day the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants