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

This commit is contained in:
janekptacijarabaci 2018-03-30 20:29:17 +02:00 committed by Roy Tam
commit 1a9f7f4310

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>();
}