Commit 54158963 authored by André Bargull's avatar André Bargull
Browse files

Bug 1798623: Update time zone data to tzdata2022f (ESR102 backport)....

Bug 1798623: Update time zone data to tzdata2022f (ESR102 backport). r=#platform-i18n-reviewers, a=dmeehan


Backport for ESR102.

Differential Revision: https://phabricator.services.mozilla.com/D161009
parent 3ac80b57
Loading
Loading
Loading
Loading
−1.19 KiB (14.4 MiB)

File changed.

No diff preview for this file type.

+0 −6
Original line number Diff line number Diff line
@@ -155,13 +155,11 @@ TEST(IntlTimeZone, GetAvailableTimeZones)
{
  constexpr auto EuropeBerlin = MakeStringSpan("Europe/Berlin");
  constexpr auto EuropeBusingen = MakeStringSpan("Europe/Busingen");
  constexpr auto AtlanticJan_Mayen = MakeStringSpan("Atlantic/Jan_Mayen");

  auto timeZones = TimeZone::GetAvailableTimeZones("DE").unwrap();

  bool hasEuropeBerlin = false;
  bool hasEuropeBusingen = false;
  bool hasAtlanticJan_Mayen = false;

  for (auto timeZone : timeZones) {
    auto span = timeZone.unwrap();
@@ -171,9 +169,6 @@ TEST(IntlTimeZone, GetAvailableTimeZones)
    } else if (span == EuropeBusingen) {
      ASSERT_FALSE(hasEuropeBusingen);
      hasEuropeBusingen = true;
    } else if (span == AtlanticJan_Mayen) {
      ASSERT_FALSE(hasAtlanticJan_Mayen);
      hasAtlanticJan_Mayen = true;
    } else {
      std::string str(span.data(), span.size());
      ADD_FAILURE() << "Unexpected time zone: " << str;
@@ -182,7 +177,6 @@ TEST(IntlTimeZone, GetAvailableTimeZones)

  ASSERT_TRUE(hasEuropeBerlin);
  ASSERT_TRUE(hasEuropeBusingen);
  ASSERT_TRUE(hasAtlanticJan_Mayen);
}

TEST(IntlTimeZone, GetAvailableTimeZonesNoRegion)
+3 −3
Original line number Diff line number Diff line
commit 06611e9b8c6e14299e07d9ff06db61137fea94da
commit e47d7d15663333c72f1f01900223635b665146f4
Author: yumaoka <y.umaoka@gmail.com>
Date:   Thu Aug 18 13:02:20 2022 -0400
Date:   Tue Nov 1 10:29:13 2022 -0400

    ICU-22118 tzdata 2022b
    ICU-22196 TZ Database 2022f updates (icu-data)
+1 −1
Original line number Diff line number Diff line
2022b
2022f
+32 B (42.2 KiB)

File changed.

No diff preview for this file type.

Loading