JSPM

ember-data-numerical-date-transform

3.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q22347F
  • License MIT

The default blueprint for ember-cli addons.

Package Exports

  • ember-data-numerical-date-transform

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-data-numerical-date-transform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ember-data-numerical-date-transform Build Status

==============================================================================

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.