{"action":"created","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6336","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6336/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6336/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6336/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/6336","id":362159069,"node_id":"MDU6SXNzdWUzNjIxNTkwNjk=","number":6336,"title":"DateTime fields inside templates rendered as Dates","user":{"login":"Jorilx","id":600767,"node_id":"MDQ6VXNlcjYwMDc2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/600767?v=4","gravatar_id":"","url":"https://api.github.com/users/Jorilx","html_url":"https://github.com/Jorilx","followers_url":"https://api.github.com/users/Jorilx/followers","following_url":"https://api.github.com/users/Jorilx/following{/other_user}","gists_url":"https://api.github.com/users/Jorilx/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorilx/subscriptions","organizations_url":"https://api.github.com/users/Jorilx/orgs","repos_url":"https://api.github.com/users/Jorilx/repos","events_url":"https://api.github.com/users/Jorilx/events{/privacy}","received_events_url":"https://api.github.com/users/Jorilx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-20T12:13:53Z","updated_at":"2018-10-04T09:12:43Z","closed_at":null,"author_association":"NONE","body":"The class responsible for rendering datetimes inside templates, `include/SugarFields/Datetime/SugarFieldDatetime.php`, looks for the format to use with\r\n\r\n`$user_dateFormat = $timedate->get_date_format();`\r\n\r\ninstead of\r\n\r\n`$user_dateFormat = $timedate->get_date_time_format();`\r\n\r\nso if you use a datetime inside a `*viewdefs.php`, it gets rendered as a date instead of a datetime.\r\nIs this by design? Am I missing something?\r\n\r\nI'm on SuiteCRM 7.10.8 but this call has been there from the \"beginning\" :)\r\n"},"comment":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/comments/426944415","html_url":"https://github.com/salesagility/SuiteCRM/issues/6336#issuecomment-426944415","issue_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6336","id":426944415,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjk0NDQxNQ==","user":{"login":"Jorilx","id":600767,"node_id":"MDQ6VXNlcjYwMDc2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/600767?v=4","gravatar_id":"","url":"https://api.github.com/users/Jorilx","html_url":"https://github.com/Jorilx","followers_url":"https://api.github.com/users/Jorilx/followers","following_url":"https://api.github.com/users/Jorilx/following{/other_user}","gists_url":"https://api.github.com/users/Jorilx/gists{/gist_id}","starred_url":"https://api.github.com/users/Jorilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jorilx/subscriptions","organizations_url":"https://api.github.com/users/Jorilx/orgs","repos_url":"https://api.github.com/users/Jorilx/repos","events_url":"https://api.github.com/users/Jorilx/events{/privacy}","received_events_url":"https://api.github.com/users/Jorilx/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T09:12:43Z","updated_at":"2018-10-04T09:12:43Z","author_association":"NONE","body":"I'll try, thanks! :D"}}
{"actor":{"display_login":"Jorilx"}}