Skip to content

Commit

Permalink
Correct time format
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Jul 26, 2023
1 parent c736d7a commit 4d0c66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/FormatDateTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { format, formatDistance, parseISO } from "date-fns";
const FORMATS = {
shortDate: (d) => format(d, "MMM d, yyyy"),
longDate: (d) => format(d, "MMMM d, yyyy"),
timeWithSeconds: (d) => format(d, "HH:MM:SS"),
timeWithSeconds: (d) => format(d, "HH:mm:ss"),
distance: (d) => formatDistance(d, new Date()),
};

Expand Down

0 comments on commit 4d0c66d

Please sign in to comment.