We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to get Datasette to display $10,000 using the new units support but we currently only display units as a suffix:
$10,000
datasette/datasette/app.py
Lines 563 to 572 in 10a34f9
It would be neat if there was a mechanism for specifying a custom unit display - maybe something like this:
{ "custom_units": { "us_dollar": { "unit": "us_dollar = [] = $", "format": "${:,}" } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to get Datasette to display
$10,000
using the new units support but we currently only display units as a suffix:datasette/datasette/app.py
Lines 563 to 572 in 10a34f9
It would be neat if there was a mechanism for specifying a custom unit display - maybe something like this:
The text was updated successfully, but these errors were encountered: