Closed GuiltyDolphin closed 8 years ago
@GuiltyDolphin @moollaza I'm not able to run the trigger for this IA locally, Can you help me out?
@vikashvverma with duckpan? Try this SHOW_IA_TESTING=1 duckpan server
. It triggers on all queries so I have it disabled unless you set an environment variable.
https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Experimentalia.pm#L15
@jdorweiler I did that still it says, Sorry, no hit for your instant answer
@vikashvverma can you post your output from running that?
@jdorweiler I'm trying to access it at this url http://localhost:3000/?q=testing&t=h&ia=iatesting
, duckpan server is running on port 3000
@vikashvverma is your repo up to date? Try setting the environment variable with export SHOW_IA_TESTING=1
and then run duckpan.
Or if that fails you could just manually set this value to 1
.
https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/lib/DDG/Spice/Experimentalia.pm#L15
@jdorweiler It works now, one of the dependency was not installed. Thanks
@GuiltyDolphin the problem is because moment.js
is giving relative time based on timezone, I will work on this
I consistently get incorrect times for the 'Last Updated....' field, it was 5 hours behind during EST and switched to 4 hours behind after the switch to EDT, my TZ is currently BST (though was GMT until a few days ago).
IA Page: http://duck.co/ia/view/experimentalia Maintainer: @vikashvverma