{"action":"created","issue":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/155","repository_url":"https://api.github.com/repos/malcommac/SwiftDate","labels_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/155/comments","events_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/155/events","html_url":"https://github.com/malcommac/SwiftDate/issues/155","id":131119369,"number":155,"title":"\"toString\" format not working properly with 12 hour clock","user":{"login":"TadeasKriz","id":284197,"avatar_url":"https://avatars.githubusercontent.com/u/284197?v=3","gravatar_id":"","url":"https://api.github.com/users/TadeasKriz","html_url":"https://github.com/TadeasKriz","followers_url":"https://api.github.com/users/TadeasKriz/followers","following_url":"https://api.github.com/users/TadeasKriz/following{/other_user}","gists_url":"https://api.github.com/users/TadeasKriz/gists{/gist_id}","starred_url":"https://api.github.com/users/TadeasKriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TadeasKriz/subscriptions","organizations_url":"https://api.github.com/users/TadeasKriz/orgs","repos_url":"https://api.github.com/users/TadeasKriz/repos","events_url":"https://api.github.com/users/TadeasKriz/events{/privacy}","received_events_url":"https://api.github.com/users/TadeasKriz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/malcommac/SwiftDate/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-03T18:55:13Z","updated_at":"2016-02-16T19:42:12Z","closed_at":"2016-02-16T19:42:12Z","body":"I have a date `2016-02-06 18:39:00 UTC` (in variable `date`). When I do `date.inRegion().toISO8601String()`, I get the correct output: `2016-02-06T18:39:00.000Z`. But when I do simply: `date.toString(.ISO8601)`, what I get is something unexpected and possibly a wrong value: `2016-02-06T7:39:00+0100`. Am I using it wrongly or is it a bug? Thanks."},"comment":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/comments/184847868","html_url":"https://github.com/malcommac/SwiftDate/issues/155#issuecomment-184847868","issue_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/155","id":184847868,"user":{"login":"malcommac","id":235645,"avatar_url":"https://avatars.githubusercontent.com/u/235645?v=3","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T19:42:12Z","updated_at":"2016-02-16T19:42:12Z","body":"Totally agree. It now uses toString(.ISO8601) format but it's marked as deprecated. https://github.com/malcommac/SwiftDate/commit/9451ed3fcf3ba996a347ea96ce45694371aa4f3a"}}