M0nica / how-many-days-until

A React countdown app of days between today and next year.
https://m0nica.github.io/how-many-days-until/
10 stars 32 forks source link

Pivot! How many days until X holiday #13

Closed M0nica closed 4 years ago

M0nica commented 5 years ago

Allow users to see how many days away the next US Federal Holiday is.

Display copy such as:

The next holiday is [HOLIDAY] which is [#] days away.

https://www.redcort.com/us-federal-bank-holidays/

Discussion Should we include holidays like: Halloween, April Fools Day, etc.

Future

r-i-c-h commented 5 years ago

Should the data be hard-coded? [Selectable via a dropdown]?

M0nica commented 5 years ago

@r-i-c-h I think the dates could be hard-coded for V1 and then would want to have a follow up at some point to programmatically get the data

zarasyversen commented 5 years ago

I'm happy to try and add Christmas 🎅 ! Would you like it to be on the same page? Like sitting underneath the current NYE one or on a new page?

M0nica commented 5 years ago

@zarasyversen I think it would be great if you added a new page for Christmas -- thanks! I think that's a good approach.

cori commented 5 years ago

How would you feel about using an API to resolve interesting dates that aren't static? Specifically I'm thinking about implementing Days to Winter Solstice using http://aa.usno.navy.mil/data/docs/api.php#seasons but it could be extended to calculate lunar dates like those for Jewish holidays or the next full moon as well.

github-actions[bot] commented 4 years ago

Stale issue message