releases-comm-central/calendar/test/unit
Geoff Lankow 57782ef9cb Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca
This patch removes all (that I could find) attempts to assemble localised strings from their
various components (e.g. day + " " + monthName + " " + year) and replaces then with standard
methods using Intl.DateTimeFormatter.

After the change, the preference intl.regional_prefs.use_os_locales should behave as intended for
all calendar code. That is:
- if the pref is false, and the application and operating system use different languages (ignoring
  regional variations), the application's language will be used to format date and times.
- if the pref is true, or the both use the same language, that language will be used.

Differential Revision: https://phabricator.services.mozilla.com/D221752

--HG--
extra : rebase_source : 5f2e9a6bad6df04c3cb54721a4a90d70c83c6814
2024-09-09 20:52:39 +12:00
..
data Bug 334657 - make ics parsing more tolerant to non-utf8 data. r=aleca 2024-09-27 10:34:18 +03:00
providers Bug 1906077 - ICS calendar subscriptions should use the original URI for temporary redirects. r=aleca 2024-09-05 13:42:16 +03:00
head.js Bug 1860082 - Import NetUtil as an ES module. r=mkmelin 2023-10-24 17:36:42 +01:00
test_CalendarFileImporter.js Bug 334657 - follow-up, fix linting. rs=lint DONTBUILD 2024-09-27 14:42:25 +03:00
test_alarm.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_alarmservice.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_alarmutils.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_attachment.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_attendee.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_auth_utils.js Bug 1840077 - Port Bug 1820599: addLogin interface change. r=elizabeth 2023-06-23 16:41:36 +00:00
test_bug272411.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug343792.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug350845.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug356207.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug485571.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug486186.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug494140.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug523860.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug653924.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug668222.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug759324.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_bug1199942.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug1204255.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug1209399.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_bug1790339.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_calIteratorUtils.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_calStorageHelpers.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_caldav_requests.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_calmgr.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_calreadablestreamfactory.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_data_bags.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_datetime.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_datetime_before_1970.js Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca 2024-01-22 11:21:09 +01:00
test_datetimeformatter.js Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca 2024-09-09 20:52:39 +12:00
test_deleted_items.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_duration.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_email_utils.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_extract.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_extract_parser.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_extract_parser_parse.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_extract_parser_service.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_extract_parser_tokenize.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_filter.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_filter_mixin.js Bug 1855900 - Add Past Events and All Events options to unifinder. r=aleca,leftmostcat 2024-09-02 17:09:47 +03:00
test_filter_tree_view.js Bug 1912710 - Reinstate unifinder matching for "LOCATION", "DESCRIPTION", "URL". r=john.bieling 2024-10-09 17:49:06 +00:00
test_freebusy.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_freebusy_service.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_ics.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_ics_parser.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_ics_service.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_imip.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_invitationutils.js Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca 2024-09-09 20:52:39 +12:00
test_items.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_itip_message_sender.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_itip_utils.js Bug 1878944 - Fixing the sometimes not sent e-mail about the acceptance/rejection of appointments r=mkmelin 2024-04-16 23:07:08 +01:00
test_l10n_utils.js Bug 1824260 - Update outdated .jsm references. r=freaktechnik 2024-03-21 19:44:49 +02:00
test_lenient_parsing.js Bug 1854422 - Set ICAL.design.strict to false in the main thread. r=mkmelin 2023-09-29 09:47:31 +00:00
test_providers.js Bug 1875495 - Port bug 1780071 - Linter should yell if using assignment or comparisons inside assertion conditions. r=aleca 2024-01-22 11:21:09 +01:00
test_recur.js Bug 1917411 - Stop assembling date, time, and interval strings from localised parts. r=aleca 2024-09-09 20:52:39 +12:00
test_recurrence_utils.js Bug 1824260 - Update outdated .jsm references. r=freaktechnik 2024-03-21 19:44:49 +02:00
test_relation.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_rfc3339_parser.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_startup_service.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_storage.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_storage_connection.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_storage_get_items.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_timezone.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_timezone_changes.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_timezone_definition.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
test_transaction_manager.js Bug 1824260 - esmify calendar/ (apart from Ical.jsm). r=aleca,leftmostcat 2024-03-15 17:45:58 -07:00
test_unifinder_utils.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_utils.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_view_utils.js Bug 1881752 - Update imports to follow ESM conversions for bustage fix. r=babolivier 2024-02-23 13:54:58 +00:00
test_webcal.js Bug 1886948 - Part 1: AutoFix for ./calendar directory. r=freaktechnik 2024-03-22 19:12:04 +00:00
test_weekinfo_service.js Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier 2023-09-22 00:41:53 +00:00
xpcshell.ini Bug 1886417 - remove HashedArray. r=leftmostcat 2024-03-22 09:50:18 +02:00