{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega-lite/issues/775","labels_url":"https://api.github.com/repos/vega/vega-lite/issues/775/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite/issues/775/comments","events_url":"https://api.github.com/repos/vega/vega-lite/issues/775/events","html_url":"https://github.com/vega/vega-lite/issues/775","id":118286138,"number":775,"title":"Allow time unit to be used as most significant unit. ","user":{"login":"domoritz","id":589034,"avatar_url":"https://avatars.githubusercontent.com/u/589034?v=3","gravatar_id":"","url":"https://api.github.com/users/domoritz","html_url":"https://github.com/domoritz","followers_url":"https://api.github.com/users/domoritz/followers","following_url":"https://api.github.com/users/domoritz/following{/other_user}","gists_url":"https://api.github.com/users/domoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/domoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domoritz/subscriptions","organizations_url":"https://api.github.com/users/domoritz/orgs","repos_url":"https://api.github.com/users/domoritz/repos","events_url":"https://api.github.com/users/domoritz/events{/privacy}","received_events_url":"https://api.github.com/users/domoritz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vega/vega-lite/labels/feature","name":"feature","color":"207de5"},{"url":"https://api.github.com/repos/vega/vega-lite/labels/help-wanted","name":"help-wanted","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-22T20:27:04Z","updated_at":"2015-11-22T21:16:41Z","closed_at":null,"body":"When we format or bin by a time unit, we should offer an option to use it as the most significant unit. \r\n\r\nFor example, you can specify the time unit `month` but what if you want the year and the month (`YYYY-MM`) instead of just the month (`MM`)? \r\n\r\nOptions:\r\n1. Offer time units for all possible cases `month`, `year`, `year-month`, ...\r\n2 Add a flag `useTimeUnitAsMostSignificantUnit: true|false`"},"comment":{"url":"https://api.github.com/repos/vega/vega-lite/issues/comments/158800351","html_url":"https://github.com/vega/vega-lite/issues/775#issuecomment-158800351","issue_url":"https://api.github.com/repos/vega/vega-lite/issues/775","id":158800351,"user":{"login":"domoritz","id":589034,"avatar_url":"https://avatars.githubusercontent.com/u/589034?v=3","gravatar_id":"","url":"https://api.github.com/users/domoritz","html_url":"https://github.com/domoritz","followers_url":"https://api.github.com/users/domoritz/followers","following_url":"https://api.github.com/users/domoritz/following{/other_user}","gists_url":"https://api.github.com/users/domoritz/gists{/gist_id}","starred_url":"https://api.github.com/users/domoritz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domoritz/subscriptions","organizations_url":"https://api.github.com/users/domoritz/orgs","repos_url":"https://api.github.com/users/domoritz/repos","events_url":"https://api.github.com/users/domoritz/events{/privacy}","received_events_url":"https://api.github.com/users/domoritz/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T21:16:41Z","updated_at":"2015-11-22T21:16:41Z","body":"I agree that the name `useTimeUnitAsMostSignificantUnit` is horrible but for now the question is what the right concept is. "}}