The datetime attribute is dropped

VERIFIED FIXED

Status

developer.mozilla.org
Editing
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: kohei, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

6 years ago
I've noticed this bug while testing Bug 817555.

<time datetime="2012-12-04">December 4</time> 
will be saved as <time>December 4</time>

Comment 1

6 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/d53f5174b96b922fca6a2e2ce42d1efc73f272d1
fix bug 818233 - Allow datetime attribute

https://github.com/mozilla/kuma/commit/a0555ae624c1a90c80f552eb1b0d834e64b66578
Merge pull request #745 from darkwing/time-datetime-818233-2

fix bug 818233 - Allow datetime attribute

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

6 years ago
I guess the datatime attribute can be used on the ins and del elements in addition to the time element.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: The time element's datetime attribute is dropped → The datetime attribute is dropped
Do we have a use case in the MDN for this usage?

Comment 4

6 years ago
Can we test and see if this is closed or not?
Flags: needinfo?
datetime works on time elements;  that's what my PR did.  Do we really need datetime on ins and del?  Are these ever used?
Flags: needinfo?
(Reporter)

Comment 6

6 years ago
I myself have used ins/del on this page:
https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_17

Comment 7

6 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/39ef11ccd93fb477967334f95ac4a28db1318767
fix bug 818233 - Add datetime attribute for ins/del

https://github.com/mozilla/kuma/commit/d00968e48d190091eb4789c629cfd405972debb3
Merge pull request #766 from darkwing/datetime-818233

fix bug 818233 - Add datetime attribute for ins/del

Updated

6 years ago
Status: REOPENED → RESOLVED
Last Resolved: 6 years ago6 years ago
Resolution: --- → FIXED
Verified FIXED on https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_17:

<p>Firefox 17 was released on <time datetime="2012-11-20">November 20</time>
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.