Ember Data transforms which use Luxon for Date and Time primitives based on ember-luxon.
MIT License
Ember Data transforms which use Luxon for Date and Time primitives based on ember-luxon.
You probably do not want to use this in your project.
ember install ember-data-luxon-transforms
import DS from 'ember-data';
export default DS.Model.extend({
createdAt: DS.attr('luxon-date-time'),
updatedAt: DS.attr('luxon-date-time'),
duration: DS.attr('luxon-duration'),
next: DS.attr('luxon-interval'),
});
This project is licensed under the MIT License.