mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 20:00:58 -05:00
Fix typo
Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
parent
dfd833dbe2
commit
8bfe51940f
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ function parseToHistory (list, notehistory, callback) {
|
|||
notehistory[i].id = encodeNoteId(id)
|
||||
}
|
||||
} catch (err) {
|
||||
logger.error(err)
|
||||
console.error(err)
|
||||
}
|
||||
// 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'))
|
||||
|
|
Loading…
Reference in a new issue