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:32:00 UTC

[jira] [Created] (SLING-7559) The default locale for date and number formatting should be similar to the one used for i18n

Konrad Windszus created SLING-7559:
--------------------------------------

             Summary: 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


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).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)