{"action":"opened","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/5810","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/5810/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/5810/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/5810/events","html_url":"https://github.com/systemd/systemd/issues/5810","id":224350114,"number":5810,"title":"parse error in OnCalendar","user":{"login":"h2oota","id":2571874,"avatar_url":"https://avatars1.githubusercontent.com/u/2571874?v=3","gravatar_id":"","url":"https://api.github.com/users/h2oota","html_url":"https://github.com/h2oota","followers_url":"https://api.github.com/users/h2oota/followers","following_url":"https://api.github.com/users/h2oota/following{/other_user}","gists_url":"https://api.github.com/users/h2oota/gists{/gist_id}","starred_url":"https://api.github.com/users/h2oota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h2oota/subscriptions","organizations_url":"https://api.github.com/users/h2oota/orgs","repos_url":"https://api.github.com/users/h2oota/repos","events_url":"https://api.github.com/users/h2oota/events{/privacy}","received_events_url":"https://api.github.com/users/h2oota/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-26T05:47:06Z","updated_at":"2017-04-26T05:47:06Z","closed_at":null,"body":"### Submission type\r\n\r\n  - [x] Bug report\r\n  - [ ] Request for enhancement (RFE)\r\n\r\n*NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!*\r\n\r\n### systemd version the issue has been seen with\r\n\r\n> 232\r\n\r\n*NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!*\r\n\r\n### Used distribution\r\n\r\n> Arch\r\n\r\n### In case of bug report: Expected behaviour you didn't see\r\n\r\n> According https://www.freedesktop.org/software/systemd/man/systemd.time.html, I wrote on the OnCalendar directive in \"unix epoch\" format.\r\n> >Finally, a timespan prefixed with \"@\" is evaluated relative to the UNIX time epoch 1st Jan, 1970, 00:00.\r\n\r\nI wrote this.\r\n```\r\n[Unit]\r\nDescription=ding\r\n\r\n[Timer]\r\nOnCalendar=@1493187147\r\nUnit=ding.service\r\n\r\n[Install]\r\nWantedBy=timers.target\r\n```\r\nThis timer should be scheduled at Wed Apr 26 06:12:27 UTC 2017.\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\n> ding.service should be tiggerd at Wed Apr 26 06:12:27 UTC 2017. But I got parse error.\r\n\r\n```\r\n$ date -u -d @1493187147\r\nWed Apr 26 06:12:27 UTC 2017\r\n$ systemctl --user start ding.timer\r\nFailed to start ding.timer: Unit ding.timer is not loaded properly: Invalid argument.\r\nSee user logs and 'systemctl --user status ding.timer' for details.\r\n$ systemctl --user status ding.timer\r\nsystemd[519]: [/home/xxxxx/.config/systemd/user/ding.timer:5] Failed to parse calendar specification, ignoring: @1493187147\r\n``` \r\n\r\n### In case of bug report: Steps to reproduce the problem\r\n\r\n> \r\n\r\n1.  Create ding.timer. Change the EPOCH time.\r\n2.  systemctl --user start ding.timer"}}
{"actor":{"display_login":"h2oota"}}