code: function ensureTimestamps(columns, allowSyncedAt) {
    var now = Date.now();
    if (!allowSyncedAt || !columns.syncedAt) {
      columns.syncedAt = now;
    }
    if (!columns.createdAt) {
      // Take the value from the client, if present:
      columns.createdAt = columns.updatedAt;
    }
  }
docs: Sets the `syncedAt` and `createdAt` timestamps, if they are not set.