Open fraserredmond opened 11 years ago
Looks like this would be a good way to do it: http://openexchangerates.github.io/money.js/
Was looking into this. AWS supports a limited set of currencies, https://aws.amazon.com/premiumsupport/knowledge-center/supported-aws-currencies/ so does it make sense to include more currencies than this?
Many elements of @thenoseman PR are good https://github.com/vantage-sh/ec2instances.info/pull/448 except the update should happen during the build (which happens 3 times a day now). There's also issues with the table update logic.
Idea from Ronald in the Slack community - switch the currency on a per-region basis
Show a list of currencies as a dropdown, that changes the prices column similar to the Costs dropdown.
There's a few api's around for currency conversion, including sending a request to:
http://www.google.com/ig/calculator?hl=en&q=1usd+in+gbp
...and parsing the json that is returned.
You'd want to show a warning that currencies are approximate.