Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up)

This commit is contained in:
janekptacijarabaci committed 2018-03-30 20:29:17 +02:00
1 parent 3939b84f6a
commit ae68b5edbc
1 file changed
+1 -1
+1 -1
View File
@@ -2311,7 +2311,7 @@ HTMLInputElement::GetValueAsDate(ErrorResult& aRv)
{
uint32_t year, month, day, timeInMs;
nsAutoString value;
GetNonFileValueInternal(value);
GetValueInternal(value);
if (!ParseDateTimeLocal(value, &year, &month, &day, &timeInMs)) {
return Nullable<Date>();
}