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