{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-web/issues/435","labels_url":"https://api.github.com/repos/travis-ci/travis-web/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-web/issues/435/comments","events_url":"https://api.github.com/repos/travis-ci/travis-web/issues/435/events","html_url":"https://github.com/travis-ci/travis-web/pull/435","id":126720086,"number":435,"title":"Leverage <time> element","user":{"login":"jasonkarns","id":119972,"avatar_url":"https://avatars.githubusercontent.com/u/119972?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonkarns","html_url":"https://github.com/jasonkarns","followers_url":"https://api.github.com/users/jasonkarns/followers","following_url":"https://api.github.com/users/jasonkarns/following{/other_user}","gists_url":"https://api.github.com/users/jasonkarns/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonkarns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonkarns/subscriptions","organizations_url":"https://api.github.com/users/jasonkarns/orgs","repos_url":"https://api.github.com/users/jasonkarns/repos","events_url":"https://api.github.com/users/jasonkarns/events{/privacy}","received_events_url":"https://api.github.com/users/jasonkarns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-14T18:43:08Z","updated_at":"2016-02-01T14:46:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/travis-ci/travis-web/pulls/435","html_url":"https://github.com/travis-ci/travis-web/pull/435","diff_url":"https://github.com/travis-ci/travis-web/pull/435.diff","patch_url":"https://github.com/travis-ci/travis-web/pull/435.patch"},"body":"Sample of using the `time` element instead of `abbr` for displaying timestamps.\r\n\r\nThe `time` element can also represent durations. So the sample used here is suboptimal. Rather than the duration time lising the `lastBuildStartedAt` time in the `datetime` attribute, it ought to be a [valid `duration` value](https://www.w3.org/html/wg/drafts/html/master/infrastructure.html#valid-duration-string). However, I didn't see any existing helpers for formatting according to a machine-readable duration value.\r\n\r\nIdeally, the `time` element would be used in other areas where times/durations are displayed. This pr is meant as a starting point for discussion."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-web/issues/comments/178000046","html_url":"https://github.com/travis-ci/travis-web/pull/435#issuecomment-178000046","issue_url":"https://api.github.com/repos/travis-ci/travis-web/issues/435","id":178000046,"user":{"login":"jasonkarns","id":119972,"avatar_url":"https://avatars.githubusercontent.com/u/119972?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonkarns","html_url":"https://github.com/jasonkarns","followers_url":"https://api.github.com/users/jasonkarns/followers","following_url":"https://api.github.com/users/jasonkarns/following{/other_user}","gists_url":"https://api.github.com/users/jasonkarns/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonkarns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonkarns/subscriptions","organizations_url":"https://api.github.com/users/jasonkarns/orgs","repos_url":"https://api.github.com/users/jasonkarns/repos","events_url":"https://api.github.com/users/jasonkarns/events{/privacy}","received_events_url":"https://api.github.com/users/jasonkarns/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T14:46:43Z","updated_at":"2016-02-01T14:46:43Z","body":"I should note that I made the changes via markup only and haven't visually inspected anything regarding layout. For the most part, most of the `time` elements were added so it shouldn't affect anything. However, in a couple places, I swapped the existing `span` for `time`. All the classnames remained, so it *should* affect anything. But if the styles were dependent on those elements being `span`s and not simply leveraging the classnames, there may be issues."}}