{"action":"created","issue":{"url":"https://api.github.com/repos/yaroslav/russian/issues/58","labels_url":"https://api.github.com/repos/yaroslav/russian/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/yaroslav/russian/issues/58/comments","events_url":"https://api.github.com/repos/yaroslav/russian/issues/58/events","html_url":"https://github.com/yaroslav/russian/issues/58","id":92280621,"number":58,"title":"проблема Date.parse ","user":{"login":"knasyrov","id":476937,"avatar_url":"https://avatars.githubusercontent.com/u/476937?v=3","gravatar_id":"","url":"https://api.github.com/users/knasyrov","html_url":"https://github.com/knasyrov","followers_url":"https://api.github.com/users/knasyrov/followers","following_url":"https://api.github.com/users/knasyrov/following{/other_user}","gists_url":"https://api.github.com/users/knasyrov/gists{/gist_id}","starred_url":"https://api.github.com/users/knasyrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knasyrov/subscriptions","organizations_url":"https://api.github.com/users/knasyrov/orgs","repos_url":"https://api.github.com/users/knasyrov/repos","events_url":"https://api.github.com/users/knasyrov/events{/privacy}","received_events_url":"https://api.github.com/users/knasyrov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-01T06:26:01Z","updated_at":"2015-07-25T19:01:38Z","closed_at":null,"body":"2.2.1 :002 > Russian::strftime(Date.new(2015,12,31), \"%d %B %Y\" )\r\n => \"31 декабря 2015\" \r\n2.2.1 :003 > Date.parse(Russian::strftime(Date.new(2015,12,31), \"%d %B %Y\" ))\r\n => Fri, 31 Jul 2015\r\n\r\n2.2.1 :007 > Russian::strftime(Date.new(2015,06,30), \"%d %B %Y\" )\r\n => \"30 июня 2015\" \r\n2.2.1 :008 > Date.parse(Russian::strftime(Date.new(2015,06,30), \"%d %B %Y\" ))\r\n => Thu, 30 Jul 2015"},"comment":{"url":"https://api.github.com/repos/yaroslav/russian/issues/comments/124872843","html_url":"https://github.com/yaroslav/russian/issues/58#issuecomment-124872843","issue_url":"https://api.github.com/repos/yaroslav/russian/issues/58","id":124872843,"user":{"login":"sagax","id":2570211,"avatar_url":"https://avatars.githubusercontent.com/u/2570211?v=3","gravatar_id":"","url":"https://api.github.com/users/sagax","html_url":"https://github.com/sagax","followers_url":"https://api.github.com/users/sagax/followers","following_url":"https://api.github.com/users/sagax/following{/other_user}","gists_url":"https://api.github.com/users/sagax/gists{/gist_id}","starred_url":"https://api.github.com/users/sagax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagax/subscriptions","organizations_url":"https://api.github.com/users/sagax/orgs","repos_url":"https://api.github.com/users/sagax/repos","events_url":"https://api.github.com/users/sagax/events{/privacy}","received_events_url":"https://api.github.com/users/sagax/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T19:01:38Z","updated_at":"2015-07-25T19:01:38Z","body":"собственно я лично это не считаю никакой проблемой. Так как в форматировании нет никакого смысла \"%d %B %Y\" так как строка будет парситься Date.parse. То есть форматирование это удобство для кого, для Date.parse форматировать вывод совсем не надо. Date.parse понимает разделение между значениями\r\n/   - \"2014/12/31\"\r\n-   - \"2014-12-31\"\r\n.   - \"2014.12.31\"\r\nИ работает с такими значениями Date.parse корректно. Считаю что форматировать вывод Russian::strftime в случае когда строка будет отдана парсеру не нужно. Потому ошибки никакой тут не вижу."}}