{"action":"created","issue":{"url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/9","labels_url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/9/comments","events_url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/9/events","html_url":"https://github.com/MadMG/moment-jdateformatparser/issues/9","id":85366109,"number":9,"title":"Using 'yyy' in formatString","user":{"login":"abc1231qa","id":10753553,"avatar_url":"https://avatars.githubusercontent.com/u/10753553?v=3","gravatar_id":"","url":"https://api.github.com/users/abc1231qa","html_url":"https://github.com/abc1231qa","followers_url":"https://api.github.com/users/abc1231qa/followers","following_url":"https://api.github.com/users/abc1231qa/following{/other_user}","gists_url":"https://api.github.com/users/abc1231qa/gists{/gist_id}","starred_url":"https://api.github.com/users/abc1231qa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abc1231qa/subscriptions","organizations_url":"https://api.github.com/users/abc1231qa/orgs","repos_url":"https://api.github.com/users/abc1231qa/repos","events_url":"https://api.github.com/users/abc1231qa/events{/privacy}","received_events_url":"https://api.github.com/users/abc1231qa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T01:36:09Z","updated_at":"2015-06-08T07:05:45Z","closed_at":null,"body":"Hi,\r\nI used \"yyy\" in my java code, it works like that (99 -> 099 , 999-> 999 , 9999->9999).\r\ncan you please provide a way to Map 'yyy' in momentjs?\r\n\r\nthanks"},"comment":{"url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/comments/109885699","html_url":"https://github.com/MadMG/moment-jdateformatparser/issues/9#issuecomment-109885699","issue_url":"https://api.github.com/repos/MadMG/moment-jdateformatparser/issues/9","id":109885699,"user":{"login":"herom","id":2472487,"avatar_url":"https://avatars.githubusercontent.com/u/2472487?v=3","gravatar_id":"","url":"https://api.github.com/users/herom","html_url":"https://github.com/herom","followers_url":"https://api.github.com/users/herom/followers","following_url":"https://api.github.com/users/herom/following{/other_user}","gists_url":"https://api.github.com/users/herom/gists{/gist_id}","starred_url":"https://api.github.com/users/herom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herom/subscriptions","organizations_url":"https://api.github.com/users/herom/orgs","repos_url":"https://api.github.com/users/herom/repos","events_url":"https://api.github.com/users/herom/events{/privacy}","received_events_url":"https://api.github.com/users/herom/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T07:05:45Z","updated_at":"2015-06-08T07:05:45Z","body":"Thanks a lot for bringing this up @abc1231qa - I read through the `Java SimpleDateFormat` documentation ([year section](http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html#year)) and I found this passage:\r\n> For parsing, if the number of pattern letters is more than 2, the year is interpreted literally, regardless of the number of digits.\r\n\r\nSo, I think the only way we can support this, is a \"one way\" mapping where `'yyy': 'YYYY'` is the Java:Moment.js relation. What do you think @MadMG?"}}