duckduckgo / zeroclickinfo-goodies

DuckDuckGo Instant Answers based on Perl & JavaScript
https://duckduckhack.com/
Other
980 stars 1.76k forks source link

Local Sunrise/Sunset: Can we trigger just on sunset? #3762

Closed whmountains closed 7 years ago

whmountains commented 7 years ago

I see in the source code that this is supposed to display today's sunset/sunrise for keywords like, "sunset", "what time is sunset", etc. Right now I can only get it to work with a specific date, like "sunset 171116".

This works: https://duckduckgo.com/?q=sunset+171116 Can we make this work too?: https://duckduckgo.com/?q=sunset

IA Page: http://duck.co/ia/view/sun_info Maintainer: @Mailkov

mintsoft commented 7 years ago

@whmountains it's probably worth saying that https://duckduckgo.com/?q=sunset+today&ia=answer works :)

mintsoft commented 7 years ago

Actually; this is a duplicate of: https://github.com/duckduckgo/zeroclickinfo-goodies/issues/3359

The answer is there in the answer tab but the wikipedia fathead has taken priority (https://duckduckgo.com/?q=sunset&ia=answer)

whmountains commented 7 years ago

gotcha, thanks!