|
@ -31,7 +31,7 @@ module.exports = class { |
|
|
|
|
|
|
|
|
let fictionalDate = new Date(comment.fictionalDate) |
|
|
let fictionalDate = new Date(comment.fictionalDate) |
|
|
if (comment.fictionalDate && !Number.isNaN(fictionalDate.getTime()) && fictionalDate.getTime() !== 0) { |
|
|
if (comment.fictionalDate && !Number.isNaN(fictionalDate.getTime()) && fictionalDate.getTime() !== 0) { |
|
|
fictionalDate = moment(fictionalDate).format("MMM D, YYYY") |
|
|
|
|
|
|
|
|
fictionalDate = moment.utc(fictionalDate).format("MMM D, YYYY") |
|
|
} else { |
|
|
} else { |
|
|
fictionalDate = "" |
|
|
fictionalDate = "" |
|
|
} |
|
|
} |
|
|