diff options
author | Eike Rathke <erack@redhat.com> | 2021-05-05 23:05:34 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-05-06 01:38:55 +0200 |
commit | 9df3aa7ea72d61462e430643f2a80906dce4e15b (patch) | |
tree | e574cdd9eaeb3cba91c0927986c80dbcf0f456e0 /i18npool | |
parent | e76292edc1d7e70ffa3f3940dc635581eb1a121b (diff) |
Change en_GB calendar StartDayOfWeek to Monday and MinimalDaysInFirstWeek to 4
Inherit day, month and era names from en_US but with proper
values. See https://lh.2xlibre.net/locale/en_GB/
- Week definition (week)
- First day of week (first_weekday)
or
% LC_TIME=en_US locale -k LC_TIME
week-ndays=7
week-1stday=19971130
week-1stweek=1
first_weekday=1
first_workday=2
% LC_TIME=en_GB locale -k LC_TIME
week-ndays=7
week-1stday=19971130
week-1stweek=4
first_weekday=2
first_workday=2
This makes it necessary to adapt basic/qa/vba_tests/weekdayname.vb
because basic/qa/cppunit/test_vba.cxx sets LANGUAGE_ENGLISH_UK
Change-Id: I752bf0e59396f0cbd601beb596c07e77e4e4cfaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115160
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/data/en_GB.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/i18npool/source/localedata/data/en_GB.xml b/i18npool/source/localedata/data/en_GB.xml index f12fad0dc56e..2928b62529da 100644 --- a/i18npool/source/localedata/data/en_GB.xml +++ b/i18npool/source/localedata/data/en_GB.xml @@ -215,7 +215,17 @@ <LC_COLLATION ref="en_US"/> <LC_SEARCH ref="en_US"/> <LC_INDEX ref="en_US"/> - <LC_CALENDAR ref="en_US"/> + <LC_CALENDAR> + <Calendar unoid="gregorian" default="true"> + <DaysOfWeek ref="en_US_gregorian"/> + <MonthsOfYear ref="en_US_gregorian"/> + <Eras ref="en_US_gregorian"/> + <StartDayOfWeek> + <DayID>mon</DayID> + </StartDayOfWeek> + <MinimalDaysInFirstWeek>4</MinimalDaysInFirstWeek> + </Calendar> + </LC_CALENDAR> <LC_CURRENCY> <Currency default="true" usedInCompatibleFormatCodes="true"> <CurrencyID>GBP</CurrencyID> |