ember-data-numerical-date-transform
v3.0.0
Published
The default blueprint for ember-cli addons.
Downloads
29
Readme
ember-data-numerical-date-transform
==============================================================================
Converts dates represented as seconds since epoch to and from raw Dates.
Compatibility
- Ember.js v3.4 or above
- Ember CLI v2.13 or above
- Node.js v8 or above
Installation
ember install ember-data-numerical-date-transform
Usage
// In your model...
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
export default Model.extend({
myDate: attr('numerical-date')
});
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.