Changeset 215792 in webkit
- Timestamp:
- Apr 25, 2017 10:18:09 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r215779 r215792 1 2017-04-25 Andy VanWagoner <thetalecrafter@gmail.com> 2 3 Unhandled enumeration values in IntlDateTimeFormat.cpp 4 https://bugs.webkit.org/show_bug.cgi?id=171241 5 6 Reviewed by JF Bastien. 7 8 Added some missing cases of the UDateFormatField to partTypeString, 9 and made them conditional to the ICU version that added them. 10 This should remove the warnings that appear on platform builds using the 11 newer system ICU headers. 12 13 * runtime/IntlDateTimeFormat.cpp: 14 (JSC::IntlDateTimeFormat::partTypeString): 15 1 16 2017-04-25 Commit Queue <commit-queue@webkit.org> 2 17 -
trunk/Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp
r215616 r215792 934 934 return "weekday"; 935 935 case UDAT_AM_PM_FIELD: 936 #if U_ICU_VERSION_MAJOR_NUM >= 57 937 case UDAT_AM_PM_MIDNIGHT_NOON_FIELD: 938 case UDAT_FLEXIBLE_DAY_PERIOD_FIELD: 939 #endif 936 940 return "dayPeriod"; 937 941 case UDAT_TIMEZONE_FIELD:
Note: See TracChangeset
for help on using the changeset viewer.