diff options
Diffstat (limited to 'Source/WebCore/platform/text/DateTimeFormat.cpp')
-rw-r--r-- | Source/WebCore/platform/text/DateTimeFormat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/text/DateTimeFormat.cpp b/Source/WebCore/platform/text/DateTimeFormat.cpp index 6de7fdcde..2b1c28c68 100644 --- a/Source/WebCore/platform/text/DateTimeFormat.cpp +++ b/Source/WebCore/platform/text/DateTimeFormat.cpp @@ -26,7 +26,7 @@ #include "config.h" #include "DateTimeFormat.h" -#if ENABLE(INPUT_TYPE_TIME_MULTIPLE_FIELDS) +#if ENABLE(INPUT_MULTIPLE_FIELDS_UI) #include <wtf/ASCIICType.h> #include <wtf/text/StringBuilder.h> @@ -55,7 +55,7 @@ static const DateTimeFormat::FieldType lowerCaseToFieldTypeMap[26] = { DateTimeFormat::FieldTypeInvalid, // t DateTimeFormat::FieldTypeExtendedYear, // u DateTimeFormat::FieldTypeNonLocationZone, // v - DateTimeFormat::FieldTypeWeekOfMonth, // w + DateTimeFormat::FieldTypeWeekOfYear, // w DateTimeFormat::FieldTypeInvalid, // x DateTimeFormat::FieldTypeYear, // y DateTimeFormat::FieldTypeZone, // z @@ -84,7 +84,7 @@ static const DateTimeFormat::FieldType upperCaseToFieldTypeMap[26] = { DateTimeFormat::FieldTypeInvalid, // T DateTimeFormat::FieldTypeInvalid, // U DateTimeFormat::FieldTypeInvalid, // V - DateTimeFormat::FieldTypeWeekOfYear, // W + DateTimeFormat::FieldTypeWeekOfMonth, // W DateTimeFormat::FieldTypeInvalid, // X DateTimeFormat::FieldTypeYearOfWeekOfYear, // Y DateTimeFormat::FieldTypeRFC822Zone, // Z |