{"action":"created","issue":{"url":"https://api.github.com/repos/tes/app-styleguide/issues/19","repository_url":"https://api.github.com/repos/tes/app-styleguide","labels_url":"https://api.github.com/repos/tes/app-styleguide/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/tes/app-styleguide/issues/19/comments","events_url":"https://api.github.com/repos/tes/app-styleguide/issues/19/events","html_url":"https://github.com/tes/app-styleguide/issues/19","id":160927805,"number":19,"title":"Date format style","user":{"login":"gilgongo","id":4561747,"avatar_url":"https://avatars.githubusercontent.com/u/4561747?v=3","gravatar_id":"","url":"https://api.github.com/users/gilgongo","html_url":"https://github.com/gilgongo","followers_url":"https://api.github.com/users/gilgongo/followers","following_url":"https://api.github.com/users/gilgongo/following{/other_user}","gists_url":"https://api.github.com/users/gilgongo/gists{/gist_id}","starred_url":"https://api.github.com/users/gilgongo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilgongo/subscriptions","organizations_url":"https://api.github.com/users/gilgongo/orgs","repos_url":"https://api.github.com/users/gilgongo/repos","events_url":"https://api.github.com/users/gilgongo/events{/privacy}","received_events_url":"https://api.github.com/users/gilgongo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-17T16:36:00Z","updated_at":"2016-07-06T16:02:10Z","closed_at":null,"body":"It would be good to have a standard date format in the Style Guide. For instance:\r\n\r\n**For EBUS**\r\n\r\nLong format: eg \"**9 Jun 2016 2:15pm**\"\r\nShort: eg \"**9 Jun 2016**\"\r\n\r\n**For US**\r\n\r\nLong format: eg \"**Jun 9 2016 2:15pm**\"\r\nShort: eg \"**Jun 9 2016**\"\r\n\r\n**Guidelines**\r\n\r\nUse long format when time of day is important (eg logs of actions or when an event might not reasonably be assumed to take place at midnight).\r\n\r\nUse \"Today\" and \"Yesterday\", when general recency is important (eg resources uploaded or applicants applied), \r\n\r\nUse \"... hours/days ago\" for news items only.\r\n\r\nAll other dates take short form.\r\n\r\n**Rationale**\r\n\r\nOverall, we're trying for brevity (so no punctuation, leading zeros and stuff), clarity (hence the \"today\" question) and allow for any international issues. We also think that 24 clock is too geeky, so willing to sacrifice a few pixels for am/pm.\r\n"},"comment":{"url":"https://api.github.com/repos/tes/app-styleguide/issues/comments/230819125","html_url":"https://github.com/tes/app-styleguide/issues/19#issuecomment-230819125","issue_url":"https://api.github.com/repos/tes/app-styleguide/issues/19","id":230819125,"user":{"login":"gilgongo","id":4561747,"avatar_url":"https://avatars.githubusercontent.com/u/4561747?v=3","gravatar_id":"","url":"https://api.github.com/users/gilgongo","html_url":"https://github.com/gilgongo","followers_url":"https://api.github.com/users/gilgongo/followers","following_url":"https://api.github.com/users/gilgongo/following{/other_user}","gists_url":"https://api.github.com/users/gilgongo/gists{/gist_id}","starred_url":"https://api.github.com/users/gilgongo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilgongo/subscriptions","organizations_url":"https://api.github.com/users/gilgongo/orgs","repos_url":"https://api.github.com/users/gilgongo/repos","events_url":"https://api.github.com/users/gilgongo/events{/privacy}","received_events_url":"https://api.github.com/users/gilgongo/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T16:02:10Z","updated_at":"2016-07-06T16:02:10Z","body":"@MikaelaB I added a line to the rationale about 24-hour clock, based on a feeling I got in conversations with some people.\r\n\r\n@cjcheshire Yes, \"news\" could also be the feed since this also benefits from a clear indication of degree of freshness (the idea being that \"2 hours ago\" is punchier than \"Jun 12, 4:20pm\").\r\n\r\nWe should probably try to come up with a guideline on how far to use to use ordinal (?) stamps like this though. So in the the case of things that benefit from being fresh, perhaps stop at \"23 hours ago\" and then start using short form dates. For things that benefit from \"general\" recency like resources or comments on something, we could just say \"today\", \"yesterday\" and then drop to short form after that?"}}
{"actor":{"display_login":"gilgongo"}}