{"action":"opened","issue":{"url":"https://api.github.com/repos/SwiftBond/Bond/issues/26","labels_url":"https://api.github.com/repos/SwiftBond/Bond/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/SwiftBond/Bond/issues/26/comments","events_url":"https://api.github.com/repos/SwiftBond/Bond/issues/26/events","html_url":"https://github.com/SwiftBond/Bond/issues/26","id":60317817,"number":26,"title":"Map function - use created Dynamic or bind it?","user":{"login":"zdenektopic","id":2551911,"avatar_url":"https://avatars.githubusercontent.com/u/2551911?v=3","gravatar_id":"","url":"https://api.github.com/users/zdenektopic","html_url":"https://github.com/zdenektopic","followers_url":"https://api.github.com/users/zdenektopic/followers","following_url":"https://api.github.com/users/zdenektopic/following{/other_user}","gists_url":"https://api.github.com/users/zdenektopic/gists{/gist_id}","starred_url":"https://api.github.com/users/zdenektopic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdenektopic/subscriptions","organizations_url":"https://api.github.com/users/zdenektopic/orgs","repos_url":"https://api.github.com/users/zdenektopic/repos","events_url":"https://api.github.com/users/zdenektopic/events{/privacy}","received_events_url":"https://api.github.com/users/zdenektopic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-09T09:31:21Z","updated_at":"2015-03-09T09:31:21Z","closed_at":null,"body":"I am doing this:\r\n```\r\ndynDate = Dynamic<Double>.asObservableFor(model, keyPath: \"validTo\", defaultValue: 0).map { seconds -> NSDate in NSDate(timeIntervalSince1970: seconds / 1000) }\r\n```\r\n\r\nNow should I do this:\r\n```\r\nlet relativeTime = Dynamic<String>(\"\")\r\ndynDate.map { d -> String in BETTimeFormatter.timeRelative(d) } ->> relativeTime\r\n```\r\nor\r\n```\r\nlet relativeTime = dynDate.map { d -> String in BETTimeFormatter.timeRelative(d) }\r\n```"}}