{"action":"created","issue":{"url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/3","labels_url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/3/comments","events_url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/3/events","html_url":"https://github.com/jagi/meteor-astronomy-timestamp-behavior/issues/3","id":109847362,"number":3,"title":"Add ability to set default field names globally","user":{"login":"VladShcherbin","id":6711845,"avatar_url":"https://avatars.githubusercontent.com/u/6711845?v=3","gravatar_id":"","url":"https://api.github.com/users/VladShcherbin","html_url":"https://github.com/VladShcherbin","followers_url":"https://api.github.com/users/VladShcherbin/followers","following_url":"https://api.github.com/users/VladShcherbin/following{/other_user}","gists_url":"https://api.github.com/users/VladShcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/VladShcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladShcherbin/subscriptions","organizations_url":"https://api.github.com/users/VladShcherbin/orgs","repos_url":"https://api.github.com/users/VladShcherbin/repos","events_url":"https://api.github.com/users/VladShcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/VladShcherbin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-05T17:34:54Z","updated_at":"2015-10-05T18:20:44Z","closed_at":null,"body":"Now, we can add the timestamp behaviour and specify, how the fields are named in the class. But is there a way to specify the names globally? For example, to use `created_at` and `updated_at` everywhere, where this behaviour is used."},"comment":{"url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/comments/145621685","html_url":"https://github.com/jagi/meteor-astronomy-timestamp-behavior/issues/3#issuecomment-145621685","issue_url":"https://api.github.com/repos/jagi/meteor-astronomy-timestamp-behavior/issues/3","id":145621685,"user":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T18:20:44Z","updated_at":"2015-10-05T18:20:44Z","body":"It probably is possible but I wouldn't recommend it :-). You would have to override default behavior options.\r\n\r\n```js\r\nAstro.behaviors.timestamp.options.createdFieldName = 'created_at';\r\n```"}}