X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/add1f0df981b16a8c55d89089b2f338f77ae77b4..4f9d834d93e434d9b8375bb320b0555c98ef5d07:/src/editor/modules/documentCanvas/canvas/comments/comments.js diff --git a/src/editor/modules/documentCanvas/canvas/comments/comments.js b/src/editor/modules/documentCanvas/canvas/comments/comments.js index 41ed973..692c0b7 100644 --- a/src/editor/modules/documentCanvas/canvas/comments/comments.js +++ b/src/editor/modules/documentCanvas/canvas/comments/comments.js @@ -142,6 +142,11 @@ var CommentView = function(commentNode) { metaData.some(function(row) { date = row.getValue(); + if(/[0-9][0-9]:[0-9][0-9]:[0-9][0-9]$/g.test(date)) { + date = date.split(':'); + date.pop(); + date = date.join(':'); + } return true; }, 'date');