{"action":"created","issue":{"url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/100","repository_url":"https://api.github.com/repos/skydiver/october-plugin-forms","labels_url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/100/comments","events_url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/100/events","html_url":"https://github.com/skydiver/october-plugin-forms/pull/100","id":313774205,"number":100,"title":"Add basic Token support for notification subjects","user":{"login":"Alex360hd","id":15909570,"avatar_url":"https://avatars3.githubusercontent.com/u/15909570?v=4","gravatar_id":"","url":"https://api.github.com/users/Alex360hd","html_url":"https://github.com/Alex360hd","followers_url":"https://api.github.com/users/Alex360hd/followers","following_url":"https://api.github.com/users/Alex360hd/following{/other_user}","gists_url":"https://api.github.com/users/Alex360hd/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex360hd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex360hd/subscriptions","organizations_url":"https://api.github.com/users/Alex360hd/orgs","repos_url":"https://api.github.com/users/Alex360hd/repos","events_url":"https://api.github.com/users/Alex360hd/events{/privacy}","received_events_url":"https://api.github.com/users/Alex360hd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-12T15:20:28Z","updated_at":"2018-04-13T13:43:13Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/skydiver/october-plugin-forms/pulls/100","html_url":"https://github.com/skydiver/october-plugin-forms/pull/100","diff_url":"https://github.com/skydiver/october-plugin-forms/pull/100.diff","patch_url":"https://github.com/skydiver/october-plugin-forms/pull/100.patch"},"body":"Add basic token support for mail_subject.\r\n\r\nYou can use the following tokens in your mail subjects : \r\n- {{ data.id }} = the id of the record\r\n- {{ data.ip }} = the ip of the sender\r\n- {{ data.date }} = the actual date\r\n- {{ data.$field }} = Where $field is the name of a field of your form to display the value of that field\r\n\r\nSee the issue : https://github.com/skydiver/october-plugin-forms/issues/87"},"comment":{"url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/comments/381139400","html_url":"https://github.com/skydiver/october-plugin-forms/pull/100#issuecomment-381139400","issue_url":"https://api.github.com/repos/skydiver/october-plugin-forms/issues/100","id":381139400,"user":{"login":"skydiver","id":578784,"avatar_url":"https://avatars0.githubusercontent.com/u/578784?v=4","gravatar_id":"","url":"https://api.github.com/users/skydiver","html_url":"https://github.com/skydiver","followers_url":"https://api.github.com/users/skydiver/followers","following_url":"https://api.github.com/users/skydiver/following{/other_user}","gists_url":"https://api.github.com/users/skydiver/gists{/gist_id}","starred_url":"https://api.github.com/users/skydiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skydiver/subscriptions","organizations_url":"https://api.github.com/users/skydiver/orgs","repos_url":"https://api.github.com/users/skydiver/repos","events_url":"https://api.github.com/users/skydiver/events{/privacy}","received_events_url":"https://api.github.com/users/skydiver/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T13:43:13Z","updated_at":"2018-04-13T13:43:13Z","author_association":"OWNER","body":"1. excellent, really like your final solution\r\n\r\n2. first, i think we need to change the default date to something very generic: `Y-m-d`.\r\n\r\nAlso, i can't imagine how to convert the format, don't want to create a parallel twig and start doing things like `{{ record.date|format('d/m/Y') }}` or `{{ date(record.date) }}`\r\n\r\nSo, i will say that convert the date it's too much for this case, but i'm open to discussion.\r\n\r\nMaybe we can just change the default date format, release the update and later, think on the feature.\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"skydiver"}}