You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/03/29 11:35:00 UTC
[jira] [Updated] (SLING-7559) The default locale for date and
number formatting should be similar to the one used for i18n
[ https://issues.apache.org/jira/browse/SLING-7559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-7559:
-----------------------------------
Description: Currently for the default and number formatting a locale must be given as otherwise formatting is done with a locale context. Since formatting numbers and dates without a locale can lead to surprising effects the default locale should rather be similar to the locale being used for i18n purposes (by default determined by request's locale). (was: Currently for the default and number formatting a locale must be given as otherwise formatting is done with a locale context. Since formatting numbers and dates without a locale can lead to surprising effects the default locale should rather be similar to the locale being used for i18n purposes (by default determined by the page locale).)
> The default locale for date and number formatting should be similar to the one used for i18n
> --------------------------------------------------------------------------------------------
>
> Key: SLING-7559
> URL: https://issues.apache.org/jira/browse/SLING-7559
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting HTL Engine 1.0.52-1.3.1
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently for the default and number formatting a locale must be given as otherwise formatting is done with a locale context. Since formatting numbers and dates without a locale can lead to surprising effects the default locale should rather be similar to the locale being used for i18n purposes (by default determined by request's locale).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)