Skip to content

Commit c7e1e15

Browse files
committed
Corrected dates in discussion
Date in discussion has been changed to display local date.
1 parent ec741f9 commit c7e1e15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/zerobin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function displayMessages(key, comments) {
240240
try {
241241
divComment.find('span.nickname').text(zeroDecipher(key, comment.meta.nickname));
242242
} catch(err) { }
243-
divComment.find('span.commentdate').text(' ('+(new Date(comment.meta.postdate*1000).toUTCString())+')').attr('title','CommentID: ' + comment.meta.commentid);
243+
divComment.find('span.commentdate').text(' ('+(new Date(comment.meta.postdate*1000).toString())+')').attr('title','CommentID: ' + comment.meta.commentid);
244244

245245
// If an avatar is available, display it.
246246
if (comment.meta.vizhash) {

0 commit comments

Comments
 (0)