Index: Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
=================================================================== |
--- Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.cpp (revision 134891) |
+++ Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.cpp (working copy) |
@@ -396,7 +396,7 @@ |
bool BaseMultipleFieldsDateAndTimeInputType::shouldHaveSecondField(const DateComponents& date) const |
{ |
StepRange stepRange = createStepRange(AnyIsDefaultStep); |
- return date.second() |
+ return date.second() || date.millisecond() |
|| !stepRange.minimum().remainder(static_cast<int>(msPerMinute)).isZero() |
|| !stepRange.step().remainder(static_cast<int>(msPerMinute)).isZero(); |
} |