Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getStorageValue() {
const value = await BaseDateAttribute.prototype.getStorageValue.call(this);
if (value instanceof Date) {
return fecha.format(value, "YYYY-MM-DD HH:mm:ss");
}
return value;
}
}
async getStorageValue() {
const value = await BaseDateAttribute.prototype.getStorageValue.call(this);
if (value instanceof Date) {
return fecha.format(value, "YYYY-MM-DD HH:mm:ss");
}
return value;
}
}