{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/177","repository_url":"https://api.github.com/repos/ultrabug/py3status","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/177/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/177/events","html_url":"https://github.com/ultrabug/py3status/issues/177","id":129987447,"number":177,"title":"Support for format_time in tztime module","user":{"login":"cornerman","id":1043127,"avatar_url":"https://avatars.githubusercontent.com/u/1043127?v=3","gravatar_id":"","url":"https://api.github.com/users/cornerman","html_url":"https://github.com/cornerman","followers_url":"https://api.github.com/users/cornerman/followers","following_url":"https://api.github.com/users/cornerman/following{/other_user}","gists_url":"https://api.github.com/users/cornerman/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerman/subscriptions","organizations_url":"https://api.github.com/users/cornerman/orgs","repos_url":"https://api.github.com/users/cornerman/repos","events_url":"https://api.github.com/users/cornerman/events{/privacy}","received_events_url":"https://api.github.com/users/cornerman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ultrabug/py3status/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-30T13:40:25Z","updated_at":"2016-03-30T09:43:05Z","closed_at":"2016-01-30T14:19:45Z","body":"The tztime module from i3status introduced another ```format_time``` option to enable pango markup: https://i3wm.org/i3status/manpage.html#_tztime\r\n\r\nAs py3status handles the tztime module, this new option needs to be taken into account when parsing the time's format. Currently, when using ```format_time```, the time stops updating and adds the ```%Y,%m,%d``` formatstrings to the time (see [here](https://github.com/ultrabug/py3status/blob/master/py3status/__init__.py#L413))."},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/203349979","html_url":"https://github.com/ultrabug/py3status/issues/177#issuecomment-203349979","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/177","id":203349979,"user":{"login":"cornerman","id":1043127,"avatar_url":"https://avatars.githubusercontent.com/u/1043127?v=3","gravatar_id":"","url":"https://api.github.com/users/cornerman","html_url":"https://github.com/cornerman","followers_url":"https://api.github.com/users/cornerman/followers","following_url":"https://api.github.com/users/cornerman/following{/other_user}","gists_url":"https://api.github.com/users/cornerman/gists{/gist_id}","starred_url":"https://api.github.com/users/cornerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cornerman/subscriptions","organizations_url":"https://api.github.com/users/cornerman/orgs","repos_url":"https://api.github.com/users/cornerman/repos","events_url":"https://api.github.com/users/cornerman/events{/privacy}","received_events_url":"https://api.github.com/users/cornerman/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T09:43:05Z","updated_at":"2016-03-30T09:43:05Z","body":"There seems to be some kind of regression on the current master. When I use this block in my config:\r\n```\r\ntztime local {\r\n    format_time = \"%H:%M:%S\"\r\n    format = \"<b>%time</b>\"\r\n}\r\n```\r\nThen I get an error:\r\n\r\n```ValueError: time data 'Y-m-d H:M:S' does not match format '%Y-%m-%d %H:%M:%S'```\r\n"}}