jeudi 22 octobre 2015

How do I standardize my use of moment.js in Ember.js

I have an Ember application that receives several data models from the server each of which may contain dates.

I am using moment.js to manage and manipulate dates in the browser. Conversion and management of this has gotten messy.

I would like to simplify, and have all dates uniformly used as moment.js objects. But will be JS Date objects in all communication with the server. How can I do this?




Aucun commentaire:

Enregistrer un commentaire