diff --git a/src/components/Document/Document.js b/src/components/Document/Document.js index 2fbac163c..93ea3969a 100644 --- a/src/components/Document/Document.js +++ b/src/components/Document/Document.js @@ -27,8 +27,8 @@ class Document extends React.Component { return (
diff --git a/src/components/PublishingInfo/PublishingInfo.js b/src/components/PublishingInfo/PublishingInfo.js index 36402005f..889161f89 100644 --- a/src/components/PublishingInfo/PublishingInfo.js +++ b/src/components/PublishingInfo/PublishingInfo.js @@ -11,10 +11,10 @@ const PublishingInfo = (props) => { - { props.name } published { moment(props.timestamp).fromNow() } + { props.name } published { moment(props.createdAt).fromNow() } { props.createdAt !== props.updatedAt ? ( -  and modified { moment(props.timestamp).fromNow() } +  and modified { moment(props.updatedAt).fromNow() } ) : null }