-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
買い物プロセス ゲスト購入でお客様情報入力へ戻ると生年月日が補完されない #1008 #1011
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1011 +/- ##
=======================================
Coverage 56.23% 56.23%
=======================================
Files 75 75
Lines 9046 9046
=======================================
Hits 5087 5087
Misses 3959 3959
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
data/class/SC_FormParam.php
Outdated
$this->setValue($day_key, $d); | ||
|
||
// Smarty3以降は月日が1桁の場合、0埋めされていると補完されないため0を除去する | ||
$objDate = new DateTime($db_date); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
細かいところですが、 DateTimeImmutable にしておきましょうか。
$objDate = new DateTime($db_date); | |
$objDate = new DateTimeImmutable($db_date); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
こちら修正します
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixed #1008