commit 891ab80a21c4620e6b140c92fc715f9988c82db7
parent 49db13e7b2be852566eda450ed418e5a7f10d665
Author: André Bargull <andre.bargull@gmail.com>
Date: Tue, 25 Nov 2025 15:19:26 +0000
Bug 2000225 - Part 1: Remove no longer needed ICU patch. r=platform-i18n-reviewers,jfkthame
This issue has been fixed upstream.
Differential Revision: https://phabricator.services.mozilla.com/D273808
Diffstat:
2 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/intl/icu-patches/bug-1954138-ICU-23069-rosh-hashanah-postponement.diff b/intl/icu-patches/bug-1954138-ICU-23069-rosh-hashanah-postponement.diff
@@ -1,24 +0,0 @@
-diff --git a/intl/icu/source/i18n/hebrwcal.cpp b/intl/icu/source/i18n/hebrwcal.cpp
---- a/intl/icu/source/i18n/hebrwcal.cpp
-+++ b/intl/icu/source/i18n/hebrwcal.cpp
-@@ -441,19 +441,18 @@ int32_t startOfYear(int32_t year, UError
- day = months * 29LL + frac / DAY_PARTS; // Whole # part of calculation
- frac = frac % DAY_PARTS; // Time of day
-
- int32_t wd = (day % 7); // Day of week (0 == Monday)
-
- if (wd == 2 || wd == 4 || wd == 6) {
- // If the 1st is on Sun, Wed, or Fri, postpone to the next day
- day += 1;
-- wd = (day % 7);
- }
-- if (wd == 1 && frac > 15*HOUR_PARTS+204 && !HebrewCalendar::isLeapYear(year) ) {
-+ else if (wd == 1 && frac > 15*HOUR_PARTS+204 && !HebrewCalendar::isLeapYear(year) ) {
- // If the new moon falls after 3:11:20am (15h204p from the previous noon)
- // on a Tuesday and it is not a leap year, postpone by 2 days.
- // This prevents 356-day years.
- day += 2;
- }
- else if (wd == 0 && frac > 21*HOUR_PARTS+589 && HebrewCalendar::isLeapYear(year-1) ) {
- // If the new moon falls after 9:32:43 1/3am (21h589p from yesterday noon)
- // on a Monday and *last* year was a leap year, postpone by 1 day.
diff --git a/intl/update-icu.sh b/intl/update-icu.sh
@@ -61,7 +61,6 @@ for patch in \
double-conversion.diff \
bug-1856290-ICU-20548-dateinterval-timezone.diff \
bug-1954138-dtitvfmt-adopt-calendar.diff \
- bug-1954138-ICU-23069-rosh-hashanah-postponement.diff \
bug-1972781-chinese-based-calendar.diff \
; do
echo "Applying local patch $patch"