setScimMeta.js revision 759cbe36aeb56cbe1e788d90fbaa7f1a7e797f5d
/*global target */
var meta = target.meta,
currentDate = new Date(),
newMeta = {};
if (typeof meta !== 'object') {
java.lang.System.out.println("Need to create new object");
newMeta.lastModified = currentDate.toDateString();
newMeta.created = currentDate.toDateString();
} else {
newMeta.lastModified = currentDate.toDateString();
}
target.meta = newMeta;