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

whereMonth 获取月份异常 #507

Merged
merged 1 commit into from
Jul 18, 2024
Merged

whereMonth 获取月份异常 #507

merged 1 commit into from
Jul 18, 2024

Conversation

hongfs
Copy link
Contributor

@hongfs hongfs commented Oct 31, 2023

当前日期为 31 号,strtotime('last month') 获取的并不是上一个月的时间,而是本月的时间。

https://stackoverflow.com/questions/9058523/php-date-and-strtotime-return-wrong-months-on-31st

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2023

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 12.24%. Comparing base (7b0b8ea) to head (aba7264).
Report is 25 commits behind head on 3.0.

Files Patch % Lines
src/db/concern/TimeFieldQuery.php 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.0     #507      +/-   ##
============================================
- Coverage     12.24%   12.24%   -0.01%     
- Complexity     2965     2966       +1     
============================================
  Files            64       64              
  Lines          7128     7130       +2     
============================================
  Hits            873      873              
- Misses         6255     6257       +2     
Flag Coverage Δ
unittests 12.24% <0.00%> (-0.01%) ⬇️

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.

@liu21st liu21st merged commit 2789bf5 into top-think:3.0 Jul 18, 2024
4 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.

3 participants