diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:29:17 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 20:29:17 +0200 |
commit | 9f4779f9231aeb3709c36193d43bde6b16576272 (patch) | |
tree | f0407e1c0f236eecebe6987c13d05c362bcc3f60 | |
parent | 0679b939f3a74f8d5b50b55927068e7a0414a4c7 (diff) | |
download | uxp-9f4779f9231aeb3709c36193d43bde6b16576272.tar.gz |
Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up)
-rw-r--r-- | dom/html/HTMLInputElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp index af70945e3a..f1f84a27e6 100644 --- a/dom/html/HTMLInputElement.cpp +++ b/dom/html/HTMLInputElement.cpp @@ -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>(); } |