Clarify that the CURRENCY setting should be the ISO 4217 code of the currency (to work with the JS toLocaleString function)

This commit is contained in:
Bernd Bestel 2019-03-09 16:04:03 +01:00
parent 6de4b120b3
commit 5ba55823c9
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 4 additions and 2 deletions

View File

@ -4,3 +4,4 @@
- Improved the overview pages "button column" (e. g. hide more rarely used options behind a context/dropdown menu)
- Some JS files were not loaded correctly on case sensitive file systems
- The changelog is now included as markdown files (in `/changelog` directory, one file per release with a filename in format `<ReleaseNumber>_<Version>_<ReleaseDateIso>.md`) and shown in the about dialog
- Please review your `CURRENCY` setting in `data/config.php`, see also `config-dist.php` - this should be the ISO 4217 code of the currency to properly work with the JS `toLocaleString` function

View File

@ -23,8 +23,9 @@ Setting('CULTURE', 'en');
# To keep it simple: grocy does not handle any currency conversions,
# this here is used to format all money values,
# so can be anything (e. g. "USD" OR "$", doesn't matter...)
Setting('CURRENCY', '$');
# so doesn't matter really matter, but should be the
# ISO 4217 code of the currency ("USD", "EUR", "GBP", etc.)
Setting('CURRENCY', 'USD');
# The base url of your installation,
# should be just "/" when running directly under the root of a (sub)domain