summaryrefslogtreecommitdiffstats
path: root/dom/html
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 20:29:17 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 20:29:17 +0200
commit9f4779f9231aeb3709c36193d43bde6b16576272 (patch)
treef0407e1c0f236eecebe6987c13d05c362bcc3f60 /dom/html
parent0679b939f3a74f8d5b50b55927068e7a0414a4c7 (diff)
downloadUXP-9f4779f9231aeb3709c36193d43bde6b16576272.tar
UXP-9f4779f9231aeb3709c36193d43bde6b16576272.tar.gz
UXP-9f4779f9231aeb3709c36193d43bde6b16576272.tar.lz
UXP-9f4779f9231aeb3709c36193d43bde6b16576272.tar.xz
UXP-9f4779f9231aeb3709c36193d43bde6b16576272.zip
Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up)
Diffstat (limited to 'dom/html')
-rw-r--r--dom/html/HTMLInputElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp
index af70945e3..f1f84a27e 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>();
}