diff --git a/src/components/posts/post.js b/src/components/posts/post.js index 2b91a1c..e737393 100644 --- a/src/components/posts/post.js +++ b/src/components/posts/post.js @@ -131,7 +131,7 @@ export const RawPostJsx = (props) => { - { timeToAge((new Date()).getTime(), props.data.created_at) } + { timeToAge(Date.now(), (new Date(props.data.created_at)).getTime()) } @@ -220,7 +220,7 @@ const styles = { color: "#666", }, captionDate: { - fontSize: 0.8, + fontSize: 12, color: "#666", paddingTop: 10 },