Search code examples
androidhtmlgoogle-chromeandroid-webviewlang

Lang attribute ignored in Android WebView


I'm trying to create an input time with 24 hours format, I have the following code:

<input type="time" step="1" lang="pl"/>

I tried different formats as suggested in:

Input type time 24 hour format

But it's fully ignored:

example

I even tried to set the culture in code and it didn't work too. Any idea?


Solution

  • It seems there is no implementation, but I have a proposal open in GitHub for the WhatWG:

    https://github.com/whatwg/html/issues/4523

    You can follow it and add your comments, it will be useful and rewarding to make it happen!