Skip to content

Commit

Permalink
changed month to be correct
Browse files Browse the repository at this point in the history
  • Loading branch information
gilcohen67 committed Jul 1, 2022
1 parent 2627bd4 commit df8016f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RecordLibraryPage/RecordTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export default function RecordTable({ tableData, setShowEditModal, setEditRow })
{row.promptName}
</TableCell>
<TableCell style={{ width: 200 }}>
{`${new Date(row.timeStamp).getMonth()}/${new Date(row.timeStamp).getDate()}/${new Date(row.timeStamp).getFullYear()}`}
{`${new Date(row.timeStamp).getMonth() + 1}/${new Date(row.timeStamp).getDate()}/${new Date(row.timeStamp).getFullYear()}`}
</TableCell>
<TableCell>
<a href={row.promptLink} rel="noopener noreferrer" target="_blank" className="prompt-link">
Expand Down

0 comments on commit df8016f

Please sign in to comment.