Should use datetime attribute correctly

VERIFIED FIXED in 2.0

Status

Input
General
P3
normal
VERIFIED FIXED
8 years ago
7 years ago

People

(Reporter: stephend, Assigned: wenzel)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
Trivial, but the TITLE attribute text on http://input.stage.mozilla.com/en-US/opinion/433967 seems to be missing a space:

<time title="2010-09-13T13:44:59Z">2 days, 18 hours ago</time>
(Assignee)

Comment 1

8 years ago
A space? Where? What's *rather* possible is that this should be the datetime attribute and not "title". Or the ISO 8601 time should be in datetime and a more human-readable equivalent in the title tag.
(Reporter)

Comment 2

8 years ago
(In reply to comment #1)
> A space? Where? What's *rather* possible is that this should be the datetime
> attribute and not "title". Or the ISO 8601 time should be in datetime and a
> more human-readable equivalent in the title tag.

You're right -- I hadn't heard of that before; cool.
(Reporter)

Updated

8 years ago
Severity: trivial → normal
(Reporter)

Updated

8 years ago
Summary: TITLE attribute for timestamp seems to be missing a space → Should use datetime attribute correctly
Is this still something that needs to be fixed?
(Assignee)

Comment 4

8 years ago
For the sake of "real" HTML5, yes. P3 though.
Priority: -- → P3
(Assignee)

Comment 5

8 years ago
That'll somewhat magically be fixed as part of bug 598029.
Assignee: nobody → fwenzel
Target Milestone: --- → 2.0
(Assignee)

Comment 6

8 years ago
This is included here: http://github.com/fwenzel/reporter/commit/0aa0181

The title attribute now contains a localized, full date and time. The datetime attribute, however, contains an ISO timestamp, like the HTML 5 standard wants us to have.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.