Commit d8f8080
committed
minor symfony#58788 [Mailer] use microsecond precision SMTP logging (0xb4lint)
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[Mailer] use microsecond precision SMTP logging
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Replaced `date('c')` with `(new \DateTimeImmutable())->format('Y-m-d\TH:i:s.up')` to have microsecond precision.
Before: `2024-11-06T12:57:35+00:00` (ISO 8601)
After: `2024-11-06T12:57:35.123456Z` (ISO 8601 with microseconds)
This change makes possible to inspect each SMTP command's time consumption.
Commits
-------
6d8c53e [Mailer] use microsecond precision SMTP loggingFile tree
1 file changed
+2
-2
lines changed- src/Symfony/Component/Mailer/Transport/Smtp/Stream
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments