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

Change publish_date to include seconds. #5564

Merged

Conversation

pineray
Copy link
Contributor

@pineray pineray commented Aug 18, 2022

概要(Overview・Refs Issue)

#5544 のエラーを修正

方針(Policy)

原因は、with_seconds のデフォルトが false なのに input のフォーマットが秒を含むものだったため
フォーマットから秒を除くとなるとDatePickerの変更など影響が大きいため、最も簡単に修正できる方法をとった

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2022

Codecov Report

Merging #5564 (3654ca4) into 4.2 (ff66d0a) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                4.2    #5564      +/-   ##
============================================
- Coverage     78.84%   78.80%   -0.04%     
- Complexity     6255     6259       +4     
============================================
  Files           469      469              
  Lines         20994    21002       +8     
============================================
- Hits          16553    16551       -2     
- Misses         4441     4451      +10     
Flag Coverage Δ
E2E 63.60% <ø> (-1.19%) ⬇️
Unit 77.54% <ø> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
src/Eccube/Form/Type/Admin/NewsType.php 90.90% <ø> (ø)
src/Eccube/Service/SystemService.php 65.15% <0.00%> (-7.58%) ⬇️
...Controller/Admin/Content/MaintenanceController.php 86.20% <0.00%> (-3.45%) ⬇️
.../Service/PurchaseFlow/Processor/PointProcessor.php 93.87% <0.00%> (-1.96%) ⬇️
src/Eccube/Kernel.php 89.17% <0.00%> (-0.64%) ⬇️
...ontroller/Admin/Product/ProductClassController.php 90.28% <0.00%> (-0.58%) ⬇️
...Eccube/Controller/Admin/Content/FileController.php 86.83% <0.00%> (-0.31%) ⬇️
...ervice/PurchaseFlow/Processor/PaymentValidator.php 97.36% <0.00%> (+0.39%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@chihiro-adachi chihiro-adachi added this to the 4.2.0 milestone Aug 18, 2022
@chihiro-adachi
Copy link
Contributor

@pineray
修正ありがとうございます。
一覧画面の公開日時も秒まで表示するようにできるとよいのですが、ご対応可能でしょうか?

image

@pineray
Copy link
Contributor Author

pineray commented Aug 22, 2022

@chihiro-adachi
新着情報一覧の公開日時を変更しましたが、まったく関係ないところでE2Eテストがエラーになっていますね

@nanasess
Copy link
Contributor

@pineray 偶発的にテストがエラーになるやつでしたので、再実行したら解消しました!

@carkn carkn added the bugbounty2022:pr:entry バグバウンティ2022 バグ登録 PR登録 label Aug 23, 2022
@chihiro-adachi
Copy link
Contributor

@pineray
ありがとうございます。修正確認しました。

@chihiro-adachi chihiro-adachi merged commit 4ace938 into EC-CUBE:4.2 Aug 24, 2022
@chihiro-adachi chihiro-adachi added the bugbounty2022:pr:recognition バグバウンティ2022 バグ登録 PR取込 label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:Low bugbounty2022:pr:entry バグバウンティ2022 バグ登録 PR登録 bugbounty2022:pr:recognition バグバウンティ2022 バグ登録 PR取込
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants