|
@ -19,10 +19,10 @@ module.exports = class { |
|
|
|
|
|
|
|
|
this.state.text = dateStr |
|
|
this.state.text = dateStr |
|
|
|
|
|
|
|
|
if (updated != null && Date.parse(updated) > Date.parse(value)) { |
|
|
|
|
|
|
|
|
if (updated != null && Date.parse(updated) > (Date.parse(value) + 7200000)) { |
|
|
const m2 = moment(updated) |
|
|
const m2 = moment(updated) |
|
|
this.state.tooltip = "Originally posted: " + dateStr |
|
|
this.state.tooltip = "Originally posted: " + dateStr |
|
|
this.state.text = m2.format("MMM D, YYYY") + " *" |
|
|
|
|
|
|
|
|
this.state.text = m2.format("MMM D, YYYY") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
break |
|
|
break |
|
|