ember-data-numerical-date-transform

3.0.0 • Public • Published

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.

Package Sidebar

Install

npm i ember-data-numerical-date-transform

Weekly Downloads

7

Version

3.0.0

License

MIT

Unpacked Size

8.72 kB

Total Files

18

Last publish

Collaborators

  • hasitha-pn
  • lauragonzalezz
  • trianglegrrl
  • pnfinance
  • pn-bot
  • elucid
  • jonhunt-pn
  • christophermilne
  • vpuzzella
  • ivanvotti
  • miguelverissimo
  • pn-ips
  • jfh