-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Description
I noticed that the date created and modified are both wrong. After investigating the issue, I found that they are sent in the json, but end up blank. Looking at this ember-moment code inside helper-compute.js, I discovered this:
if (isBlank(datetime)) { if (allowEmpty) { return; } else { Ember.Logger.warn('ember-moment: an empty value (null, undefined, or "") was passed to moment-format'); } }The warning is logged which implies that it is coming back as blank.Title and category work fine and even setting the attr type of dateCreated and dateModified to string didn't do anything either. It still came in empty.