Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

getComplementedDate で本日の日付を今年のものと判定するようにする #4708

Merged
merged 1 commit into from
Jun 5, 2020
Merged

getComplementedDate で本日の日付を今年のものと判定するようにする #4708

merged 1 commit into from
Jun 5, 2020

Conversation

goki90210
Copy link
Contributor

👏 解決する issue / Resolved Issues

📝 関連する issue / Related Issues

⛏ 変更内容 / Details of Changes

  • getComplementedDate のtargetYearを-1する条件をcurrentMonth <= month && currentDate <= dateからcurrentMonth < month || (currentMonth === month && currentDate < date)に変更する。

📸 スクリーンショット / Screenshots

Copy link
Contributor

@MaySoMusician MaySoMusician left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kaizumaki kaizumaki added the ready-for-merge コードレビューが終わり、マージができるもの label Jun 4, 2020
@soutaito soutaito merged commit 5839b78 into Tokyo-Metro-Gov:development Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ready-for-merge コードレビューが終わり、マージができるもの
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getComplementedDate で本日の日付が去年のものとしてreturnされている
4 participants