{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/10994","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/10994/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/10994/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/10994/events","html_url":"https://github.com/dotnet/corefx/issues/10994","id":172129562,"number":10994,"title":"Add Quarters to DateTime formats","user":{"login":"jods4","id":3832820,"avatar_url":"https://avatars.githubusercontent.com/u/3832820?v=3","gravatar_id":"","url":"https://api.github.com/users/jods4","html_url":"https://github.com/jods4","followers_url":"https://api.github.com/users/jods4/followers","following_url":"https://api.github.com/users/jods4/following{/other_user}","gists_url":"https://api.github.com/users/jods4/gists{/gist_id}","starred_url":"https://api.github.com/users/jods4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jods4/subscriptions","organizations_url":"https://api.github.com/users/jods4/orgs","repos_url":"https://api.github.com/users/jods4/repos","events_url":"https://api.github.com/users/jods4/events{/privacy}","received_events_url":"https://api.github.com/users/jods4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-19T13:19:24Z","updated_at":"2016-08-19T17:55:53Z","closed_at":null,"body":"I suggest that you add support for quarters when formatting a `DateTime`.\r\n`q` would display the date quarter (1..4).\r\n\r\nExample: \r\n`new DateTime(2016, 8, 19).ToString(\"Qq yyyy\") == \"Q3 2016\"`\r\n\r\nThis is quite common in financial applications and the lack of it can sometimes require convoluted workarounds."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/241088714","html_url":"https://github.com/dotnet/corefx/issues/10994#issuecomment-241088714","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/10994","id":241088714,"user":{"login":"jasonwilliams200OK","id":2031765,"avatar_url":"https://avatars.githubusercontent.com/u/2031765?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilliams200OK","html_url":"https://github.com/jasonwilliams200OK","followers_url":"https://api.github.com/users/jasonwilliams200OK/followers","following_url":"https://api.github.com/users/jasonwilliams200OK/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilliams200OK/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilliams200OK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilliams200OK/subscriptions","organizations_url":"https://api.github.com/users/jasonwilliams200OK/orgs","repos_url":"https://api.github.com/users/jasonwilliams200OK/repos","events_url":"https://api.github.com/users/jasonwilliams200OK/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilliams200OK/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T17:55:53Z","updated_at":"2016-08-19T17:55:53Z","body":"Mixing the conventions from ICU http://userguide.icu-project.org/formatparse/datetime and .NET https://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx, for quarter 3:\r\n\r\nDirective | Result\r\n---|---\r\n| q | 3 |\r\n| qq | 03 |\r\n| qqq | 3rd quarter |\r\n| qqqq | Third quarter |\r\n\r\nNot sure if the inverted casing `Q` is required for anything.\r\n\r\n---\r\n\r\nNote that ICU user guide has a bug, where it says:\r\n\r\n> \"Stand Alone\" values refer to those designed to stand on their own, as opposed to being with other formatted values. \"2nd quarter\" would use the stand alone format (QQQQ), whereas \"2nd quarter 2007\" would use the regular format (qqqq yyyy).\r\n\r\nCorrection would be:\r\n\r\n> \"Stand Alone\" values refer to those designed to stand on their own, as opposed to being with other formatted values. \"2nd quarter\" would use the stand alone format (<del>QQQQ</del> qqqq), whereas \"2nd quarter 2007\" would use the regular format (<del>qqqq</del> QQQQ yyyy).\r\n\r\nBecause the table below is correct. (not sure where to report that)"}}
{"actor":{"display_login":"jasonwilliams200OK"}}