mdn / mdn/browser-compat-data

html.elements.input.type_datetime-local - does not support seconds (step=1) on "Firefox for Android"

Open
#27,222 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:firefox_android data:html
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/datetime-local

What specific section or headline is this issue about?

Browser compatibility

What information was incorrect, unhelpful, or incomplete?

According to the documentation, inputs of type "datetime-local" also support seconds for the time by setting the "step" attribute to the value "1". Firefox for Android however does not support this. For some reason, the mobile version of Firefox does support seconds for inputs of type "time" but not for inputs of type "datetime-local", where the popup dialog will allow the user to select the hours and minutes, but not seconds. After selecting a vlaue, the input itself will display seconds too, but the popup widget doesn't seem to support seconds for some reason. This appears to be the case on all devices for many years now, so the browser compatibility table is incorrectly showing "Full support" for Firefox on Android. Other mobile browsers do seem to support a datetime picker with seconds.

What did you expect to see?

A note should be added to "Firefox for Android" that inputs of type "datetime-local" are not fully supported.

Do you have any supporting links, references, or citations?

There are some. However you can simply test it yourself by displaying

<input type="datetime-local" step="1"/>

in Firefox on an Android device.

Do you have anything more you want to share?

No response

MDN metadata
Page report details

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the compatibility data for the datetime-local page at files/en-us/web/html/reference/elements/input/datetime-local/index.md and verify the reported behavior using in Firefox on Android. Compare the existing Firefox for Android entry with the observed seconds support, then confirm the compatibility data accurately records the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, html
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.