Closed gengjiawen closed 1 year ago
jerry> new Date(2022, 5, 2).toLocaleDateString() 2022-06-01
on chrome:
> new Date(2022, 5, 2).toLocaleDateString() '6/2/2022'
should be 6-2.
In JerryScript toLocaleDateString is simply an alias to toDateString. Locale specific data usually requires a lot of space.
toLocaleDateString
toDateString
on chrome:
should be 6-2.