Sails 1.x saves createdAt and updatedAt as string instead of Date type with mongodb.
the problem is that i have aggregation pipes with $add (adding days, months, secs, etc...) with the createdAt and updatedAt fields and Mongodb throws error that $add only accept type of numeric or date, not string.
Thank You