mirror of
https://github.com/plankanban/planka.git
synced 2025-07-22 22:59:44 +02:00
fix: Fix saving milliseconds for timestamps
This commit is contained in:
parent
6c4db967c2
commit
d386c82973
5 changed files with 8 additions and 12 deletions
|
@ -64,7 +64,7 @@ module.exports = {
|
|||
if (!_.isUndefined(values.password)) {
|
||||
Object.assign(values, {
|
||||
password: bcrypt.hashSync(values.password, 10),
|
||||
passwordChangedAt: new Date().toUTCString(),
|
||||
passwordChangedAt: new Date().toISOString(),
|
||||
});
|
||||
|
||||
if (Object.keys(values).length === 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue