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

Fix datetime extraction from debugbar file #1945

Merged
merged 1 commit into from
Apr 17, 2019

Conversation

soft2u
Copy link
Contributor

@soft2u soft2u commented Apr 13, 2019

https://github.com/codeigniter4/CodeIgniter4/issues/1944
When the full path of debugbar file contains some digits, the first group of digits was extracted as timestamp and the datetime displayed in the Hisory toolbar was wrong.

Description
Changed how the time is extracted from bedugbar filename by getting the las group of digits founded by preg_match_all function.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

When the full path of debugbar file contains some digits, the first group of digits was extracted as timestamp and the datetime displayed in the Hisory toolbar was wrong.
@atishhamte
Copy link
Contributor

Please give reference to the created issue number. That will help to identify the issue.

@soft2u
Copy link
Contributor Author

soft2u commented Apr 13, 2019

Please give reference to the created issue number. That will help to identify the issue.

Sorry, the issue number is 1944

@lonnieezell lonnieezell merged commit e66c5ef into codeigniter4:develop Apr 17, 2019
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