mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
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:
@@ -4,3 +4,4 @@
|
|||||||
- Improved the overview pages "button column" (e. g. hide more rarely used options behind a context/dropdown menu)
|
- 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
|
- 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
|
- 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
|
||||||
|
@@ -23,8 +23,9 @@ Setting('CULTURE', 'en');
|
|||||||
|
|
||||||
# To keep it simple: grocy does not handle any currency conversions,
|
# To keep it simple: grocy does not handle any currency conversions,
|
||||||
# this here is used to format all money values,
|
# this here is used to format all money values,
|
||||||
# so can be anything (e. g. "USD" OR "$", doesn't matter...)
|
# so doesn't matter really matter, but should be the
|
||||||
Setting('CURRENCY', '$');
|
# ISO 4217 code of the currency ("USD", "EUR", "GBP", etc.)
|
||||||
|
Setting('CURRENCY', 'USD');
|
||||||
|
|
||||||
# The base url of your installation,
|
# The base url of your installation,
|
||||||
# should be just "/" when running directly under the root of a (sub)domain
|
# should be just "/" when running directly under the root of a (sub)domain
|
||||||
|
Reference in New Issue
Block a user