duckduckgo / p5-app-duckpan

DuckDuckHack OpenSource Development Application
http://metacpan.org/module/App::DuckPAN
Other
53 stars 47 forks source link

Allow `$lang` setting to be changed in DuckPAN server #325

Closed GuiltyDolphin closed 8 years ago

GuiltyDolphin commented 8 years ago

We should have $lang (and $loc if possible) be modifiable in DuckPAN server as if it were production. This would allow testing of language/location-based preferences without needing a full deploy.

GuiltyDolphin commented 8 years ago

Hmm.... It looks like we might be able to do this already with DDG_TEST_LOCATION=loc duckpan server ... - seems to be working locally.

@mintsoft Working for you too? If so I'll close this. (I tested with DateMath and time now (to see the time zone)).

mintsoft commented 8 years ago

@GuiltyDolphin sorry yeah that worked for me too