Title: [275385] trunk/Source/_javascript_Core
- Revision
- 275385
- Author
- [email protected]
- Date
- 2021-04-01 14:51:32 -0700 (Thu, 01 Apr 2021)
Log Message
[JSC] Use ucal_getTimeZoneOffsetFromLocal if ICU 69 is present
https://bugs.webkit.org/show_bug.cgi?id=224075
Reviewed by Yusuke Suzuki.
Apple ICU 68 cherry picked ucal_getTimeZoneOffsetFromLocal (see r223783),
but now that ICU 69 is in RC, we can go ahead and update the #if for non-Apple platforms.
* runtime/JSDateMath.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (275384 => 275385)
--- trunk/Source/_javascript_Core/ChangeLog 2021-04-01 21:25:13 UTC (rev 275384)
+++ trunk/Source/_javascript_Core/ChangeLog 2021-04-01 21:51:32 UTC (rev 275385)
@@ -1,3 +1,15 @@
+2021-04-01 Ross Kirsling <[email protected]>
+
+ [JSC] Use ucal_getTimeZoneOffsetFromLocal if ICU 69 is present
+ https://bugs.webkit.org/show_bug.cgi?id=224075
+
+ Reviewed by Yusuke Suzuki.
+
+ Apple ICU 68 cherry picked ucal_getTimeZoneOffsetFromLocal (see r223783),
+ but now that ICU 69 is in RC, we can go ahead and update the #if for non-Apple platforms.
+
+ * runtime/JSDateMath.cpp:
+
2021-04-01 Tadeu Zagallo <[email protected]>
Remove use of ENABLE from API header
Modified: trunk/Source/_javascript_Core/runtime/JSDateMath.cpp (275384 => 275385)
--- trunk/Source/_javascript_Core/runtime/JSDateMath.cpp 2021-04-01 21:25:13 UTC (rev 275384)
+++ trunk/Source/_javascript_Core/runtime/JSDateMath.cpp 2021-04-01 21:51:32 UTC (rev 275385)
@@ -77,7 +77,7 @@
#include <limits>
#include <wtf/unicode/icu/ICUHelpers.h>
-#if U_ICU_VERSION_MAJOR_NUM >= 68 && USE(APPLE_INTERNAL_SDK)
+#if U_ICU_VERSION_MAJOR_NUM >= 69 || (U_ICU_VERSION_MAJOR_NUM == 68 && USE(APPLE_INTERNAL_SDK))
#define HAVE_ICU_C_TIMEZONE_API 1
#ifdef U_HIDE_DRAFT_API
#undef U_HIDE_DRAFT_API
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes