publish: pending comments get correct timestamp

This commit is contained in:
Matilde Park 2020-03-20 17:46:00 -04:00
parent 812ab41a81
commit 41f95e231f

View File

@ -75,7 +75,7 @@ export class Comments extends Component {
[da]: { [da]: {
author: this.props.ship, author: this.props.ship,
content: com["new-comment"].body, content: com["new-comment"].body,
"date-created": Math.round(new Date().getTime() / 1000) "date-created": Math.round(new Date().getTime())
} }
} }
return ( return (