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

Fixes broken date in MySQL 8 #1104

Closed

Conversation

kidunot89
Copy link
Contributor

@kidunot89 kidunot89 commented Jun 11, 2020

Fixes #1091

Replaces old sprintf( ... ) formatting logic with $date->format( DateTime::ATOM ) to create the ISO 8601 formatted timestamp to be used in the record.

@kidunot89 kidunot89 added needs discussion The issue/PR needs further discussion before a solution can be implemented work in progress Issue or pull request is still under development (DO NOT MERGE) labels Jun 11, 2020
@kidunot89 kidunot89 requested a review from kasparsd June 11, 2020 01:10
@kidunot89 kidunot89 self-assigned this Jun 11, 2020
@kidunot89 kidunot89 changed the title record timestamp creation refactored Fixes broken date in MySQL 8 Jun 11, 2020
docker-compose.yml Outdated Show resolved Hide resolved
includes/functions.php Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
@kidunot89
Copy link
Contributor Author

@kasparsd Unit test added

@kidunot89 kidunot89 requested a review from kasparsd June 11, 2020 16:43
@kidunot89 kidunot89 removed needs discussion The issue/PR needs further discussion before a solution can be implemented work in progress Issue or pull request is still under development (DO NOT MERGE) labels Jun 22, 2020
@kasparsd kasparsd added this to the Version 3.5.0 milestone Jul 1, 2020
@kidunot89 kidunot89 force-pushed the bugfix/record-created-timestamp branch from 1ec1403 to 646875b Compare July 6, 2020 15:06
Copy link
Contributor

@kasparsd kasparsd left a comment

Choose a reason for hiding this comment

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

Looks good!

@kasparsd
Copy link
Contributor

kasparsd commented Jul 7, 2020

Opening a new pull request since I'm unable to make updates to the current source branch.

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.

Incorrect Date and Time
2 participants