Skip to content

Commit

Permalink
change double to single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
beccaelenzil committed May 13, 2022
1 parent 925d9b0 commit a88d436
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Timestamp.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react";
import moment from "moment";
import React from 'react';
import moment from 'moment';

const TimeStamp = (props) => {
const time = moment(props.time);
const absolute = time.format("MMMM Do YYYY, h:mm:ss a");
const absolute = time.format('MMMM Do YYYY, h:mm:ss a');
const relative = time.fromNow();

return <span title={absolute}>{relative}</span>;
Expand Down

0 comments on commit a88d436

Please sign in to comment.