Skip to content

Commit

Permalink
pkp/pkp-lib#9527 Stabilize stats page for snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Dec 20, 2023
1 parent eb74578 commit b23d97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Container/StatsPage.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ const PublicationStatsPageWithDataAndTemplate = {
data() {
const fakeToday = 'Tue Dec 19 2023 16:00:27 GMT+0100';
const dateEndMax = new Date(
new Date().setDate(new Date().getDate(fakeToday) - 1),
new Date().setDate(new Date(fakeToday).getDate() - 1),
);

const startDate = new Date(fakeToday);
Expand Down

0 comments on commit b23d97f

Please sign in to comment.