Skip to content

Commit

Permalink
Fix src/App.tsx
Browse files Browse the repository at this point in the history
意図しない月の公開日が取得される不具合を修正
  • Loading branch information
denkiuo604 committed Aug 1, 2022
1 parent b08bdc8 commit d7d62a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function App() {
setToday(today);
const [pubMonth, pubWeek] = getPubMonthAndWeek(today);
const tmpToday = new Date(today.getTime());
tmpToday.setMonth(pubMonth);
tmpToday.setMonth(pubMonth, 1);
const pubDate = getNthDay(tmpToday, pubWeek, pubDay);
setPubTime(getDateWithPubTime(pubDate));

Expand Down

0 comments on commit d7d62a3

Please sign in to comment.