Skip to content
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

Merged
merged 4 commits into from
Oct 6, 2024

Conversation

clicktx
Copy link
Contributor

@clicktx clicktx commented Sep 28, 2024

fixed #1008

Copy link

codecov bot commented Sep 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.23%. Comparing base (9344c5f) to head (3623746).
Report is 5 commits behind head on master.

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           
Flag Coverage Δ
tests 56.23% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

$this->setValue($day_key, $d);

// Smarty3以降は月日が1桁の場合、0埋めされていると補完されないため0を除去する
$objDate = new DateTime($db_date);
Copy link
Contributor

Choose a reason for hiding this comment

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

細かいところですが、 DateTimeImmutable にしておきましょうか。

Suggested change
$objDate = new DateTime($db_date);
$objDate = new DateTimeImmutable($db_date);

Copy link
Contributor Author

@clicktx clicktx Sep 30, 2024

Choose a reason for hiding this comment

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

こちら修正します

Copy link
Contributor

@nanasess nanasess left a comment

Choose a reason for hiding this comment

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

LGTM

@nanasess nanasess merged commit 30462cc into EC-CUBE:master Oct 6, 2024
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

買い物プロセス ゲスト購入でお客様情報入力へ戻ると生年月日が補完されない
2 participants