ngx-mask
ngx-mask copied to clipboard
Date Formatted According To ISO8601
Consider that the date mask is being used as a replacement for the <input type="date> where on desktop the input mask is used <input type="text" mask="d0/M0/0000"> and on mobile a native <input type="date> is used so the native date picker is invoked.
The native date input returns valid dates in the ISO8601 format "YYYY/MM/DD" but presents the user with either "MM/DD/YYYY" or "DD/MM/YYYY" depending on region.
It would be nice if the input mask could follow the same convention and work with ISO8601 formatted values.