Skip to content

Instantly share code, notes, and snippets.

@superlou
Created April 27, 2015 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superlou/6abf14d28d7f61fa80dd to your computer and use it in GitHub Desktop.
Save superlou/6abf14d28d7f61fa80dd to your computer and use it in GitHub Desktop.
Odd time conversions
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