mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-27 00:25:50 +03:00
[PR #793] [MERGED] Datetime changes #1358
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#1358
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/793
Author: @Seldaek
Created: 5/20/2016
Status: ✅ Merged
Merged: 5/26/2016
Merged by: @Seldaek
Base:
master← Head:datetime-changes📝 Commits (2)
e27225dSwitch to DateTimeImmutable everywhere912d813Add our own DateTime implementation to provide nicer JSON output, fixes #736📊 Changes
24 files changed (+140 additions, -83 deletions)
View changed files
➕
src/Monolog/DateTimeImmutable.php(+48 -0)📝
src/Monolog/Formatter/LogglyFormatter.php(+1 -1)📝
src/Monolog/Formatter/NormalizerFormatter.php(+1 -1)📝
src/Monolog/Formatter/WildfireFormatter.php(+1 -1)📝
src/Monolog/Handler/ChromePHPHandler.php(+2 -2)📝
src/Monolog/Handler/RotatingFileHandler.php(+2 -2)📝
src/Monolog/Logger.php(+14 -6)📝
src/Monolog/Test/TestCase.php(+2 -1)📝
tests/Monolog/Formatter/ChromePHPFormatterTest.php(+5 -5)📝
tests/Monolog/Formatter/ElasticaFormatterTest.php(+1 -1)📝
tests/Monolog/Formatter/FluentdFormatterTest.php(+2 -2)📝
tests/Monolog/Formatter/GelfMessageFormatterTest.php(+6 -6)📝
tests/Monolog/Formatter/JsonFormatterTest.php(+5 -5)📝
tests/Monolog/Formatter/LineFormatterTest.php(+11 -11)📝
tests/Monolog/Formatter/LogglyFormatterTest.php(+1 -1)📝
tests/Monolog/Formatter/LogstashFormatterTest.php(+6 -6)📝
tests/Monolog/Formatter/MongoDBFormatterTest.php(+7 -7)📝
tests/Monolog/Formatter/NormalizerFormatterTest.php(+3 -3)📝
tests/Monolog/Formatter/ScalarFormatterTest.php(+1 -1)📝
tests/Monolog/Formatter/WildfireFormatterTest.php(+5 -5)...and 4 more files
📄 Description
Fixes #736
"Y-m-d\TH:i:s.uP"or"Y-m-d\TH:i:sP"depending if microsecond precision is enabled.Feedback welcome :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.