Created
April 27, 2015 23:34
-
-
Save superlou/6abf14d28d7f61fa80dd to your computer and use it in GitHub Desktop.
Odd time conversions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import DS from 'ember-data'; | |
export default DS.Model.extend({ | |
name: DS.attr('string'), | |
start: DS.attr('date'), | |
finish: DS.attr('date'), | |
places: DS.hasMany('places'), | |
events: DS.hasMany('event') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment