mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
notes are now created with correct local dates
This commit is contained in:
@@ -24,7 +24,7 @@ class ApiToken extends Entity {
|
||||
}
|
||||
|
||||
if (!this.utcDateCreated) {
|
||||
this.utcDateCreated = dateUtils.nowDate();
|
||||
this.utcDateCreated = dateUtils.utcNowDateTime();
|
||||
}
|
||||
|
||||
super.beforeSaving();
|
||||
|
||||
Reference in New Issue
Block a user