fix share time string
This commit is contained in:
parent
704a2c43d0
commit
7dd31ce43d
@ -44,7 +44,7 @@
|
||||
});
|
||||
|
||||
$: if (note.insert_time) {
|
||||
const diff_ms = new Date().valueOf() - note.insert_time.valueOf();
|
||||
const diff_ms = new Date().valueOf() - new Date(note.insert_time).valueOf();
|
||||
timeString = msToString(diff_ms);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user