mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local> (follow up)
This commit is contained in:
parent
c140ca5b67
commit
1a9f7f4310
1 changed files with 1 additions and 1 deletions
|
|
@ -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>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue