send iso and unix timestamp

v1.18.x
barisusakli 10 years ago
parent c379753341
commit 25f6b816ed

@ -208,7 +208,7 @@ var async = require('async'),
results.base.name = validator.escape(results.base.name);
results.base.description = validator.escape(results.base.description);
results.base.userTitle = validator.escape(results.base.userTitle);
results.base.createtime = utils.toISOString(results.base.createtime);
results.base.createtimeISO = utils.toISOString(results.base.createtime);
results.base.members = results.users.filter(Boolean);
results.base.pending = results.pending.filter(Boolean);
results.base.count = numUsers || results.base.members.length;

Loading…
Cancel
Save