mirror of
https://github.com/status-im/codimd.git
synced 2025-02-09 14:13:49 +00:00
Update to show log on migrate LZString type note url in history
Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
parent
5e975cbe69
commit
dfd833dbe2
@ -304,7 +304,7 @@ function parseToHistory (list, notehistory, callback) {
|
|||||||
notehistory[i].id = encodeNoteId(id)
|
notehistory[i].id = encodeNoteId(id)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// na
|
logger.error(err)
|
||||||
}
|
}
|
||||||
// parse time to timestamp and fromNow
|
// parse time to timestamp and fromNow
|
||||||
const timestamp = (typeof notehistory[i].time === 'number' ? moment(notehistory[i].time) : moment(notehistory[i].time, 'MMMM Do YYYY, h:mm:ss a'))
|
const timestamp = (typeof notehistory[i].time === 'number' ? moment(notehistory[i].time) : moment(notehistory[i].time, 'MMMM Do YYYY, h:mm:ss a'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user