mirror of
https://github.com/Basilisk-Development-Team/UXP-mirror.git
synced 2026-11-26 02:29:52 -05:00
Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up)
This commit is contained in:
1 parent
3939b84f6a
commit
ae68b5edbc
1 file changed
+1
-1
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user