Android: <input type="time"> displays 12h version regardless of system time setting
Reported by
ericshan...@gmail.com,
Jun 19 2018
|
||||
Issue descriptionDevice name: Sharp Aquos SH-06F From "Settings > About Chrome" Application version: 67.0.3396.87 Operating system: Android version 4.4.2, Kernel version 3.4.0 URLs (if applicable): Any webpage using <input-type="time"> Steps to reproduce: (1) Set system time to 24 hour clock (2) Embed <input type="time" value="00:00:00"> into a webpage's source code (3) load the webpage Expected result: The <input type="time"> element should read "00:00:00" Actual result: the <input type="time"> reads "12: Issue: Not only is it slightly annoying in that it ignores the system's time setting, it renders <input type="time"> unusable for any sort of timer, countdown, or time-based alarm, as a countdown with 30 seconds left will actually read "12:00:30 AM" instead of "00:00:30" Proposed resolution: Either pull Chrome's time setting (12/24h clock) from the system as per the Windows version, or add a user-accessible setting for 12/24h clock Attachment: Screenshot from my device showing 24h system clock and 12h <input type="time">, and a screenshot of my PC with 24h system clock and 24h <input type="time"> (from the same website)
,
Jun 20 2018
ericshannonjones@ -- Thanks for reporting this issue. Could you please share any sample URL or HTML file to verify this issue from TE's end. So that we can reproduce the issue and triage accordingly. Thanks in advance!
,
Jun 20 2018
<!DOCTYPE html><html><body><input type="time" value="00:00:00" step="1"></body></html> HTML file attached. Thanks for looking into it!
,
Jun 20 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 21 2018
Similar issue for CrOS: 152120 |
||||
►
Sign in to add a comment |
||||
Comment 1 by pnangunoori@chromium.org
, Jun 20 2018