Skip to content

Commit 0cbecc1

Browse files
ManishearthV8 LUCI CQ
authored andcommitted
Remove HijriSimulatedMecca
This was removed in the Temporal spec. Bug: 401065166 Change-Id: I6cb501eb43145dfce6b244eba9e6e3b06a6a6964 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7092376 Reviewed-by: Deepti Gandluri <[email protected]> Commit-Queue: Manish Goregaokar <[email protected]> Cr-Commit-Position: refs/heads/main@{#103377}
1 parent 213fdfa commit 0cbecc1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/objects/js-date-time-format.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,10 @@ bool CalendarEquals(temporal_rs::AnyCalendarKind kind,
946946
case HijriTabularTypeIIFriday:
947947
return other_kind == "islamic-civil" || other_kind == "islamicc" ||
948948
other_kind == "islamic";
949+
#ifdef TEMPORAL_CAPI_VERSION_0_1
949950
case HijriSimulatedMecca:
950951
return other_kind == "islamic-rgsa" || other_kind == "islamic";
952+
#endif
951953
case HijriTabularTypeIIThursday:
952954
return other_kind == "islamic-tbla" || other_kind == "islamic";
953955
case HijriUmmAlQura:

0 commit comments

Comments
 (0)