[Webkit-unassigned] [Bug 218511] Date picker does not support regional formats

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 08:17:41 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=218511

--- Comment #15 from Aditya Keerthi <akeerthi at apple.com> ---
(In reply to Jeroen Bensch from comment #14)
> Hello again,
> 
> Someone will have to restore my sanity and tell me this got fixed in macOS
> Big Sur... because after I upgraded and I just checked, Safari Technology
> Preview 115 _does_ show DD/MM/YYYY in the date picker in my region (Belgium)
> with English as language.
> 
> So Aditya, do you know more about this? Or am I seeing things?

Hello!

The format WebKit uses for the date still comes from `navigator.language`, so the change is likely due macOS system changes.

If you open Web Inspector and enter `navigator.language`, what is returned?

You should still be able to force the previous "MM/DD/YYYY" format by explicitly setting your first preferred language to "English (US)". In this case, `navigator.language` should show "en-US".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201116/d59658f8/attachment-0001.htm>


More information about the webkit-unassigned mailing list