Closed MaximilianKresse closed 3 years ago
Hi,
Thank you for this PR. I dig into this bug and it seems that this constant has some issues too when using 6 digits for microseconds. See https://www.php.net/manual/en/datetime.createfromformat.php#121431
The formqt Y-m-d\TH:i:s.uP
seems to be appropriate.
Also, would you mind to add some tests to make sure this bug is correctly covered?
Many thanks. Regards.
I've fixed the problem with 6 digits for microseconds and added some tests for this problem.
Hi,
Many thanks for the changes. I am not a big fan of mocks, anyway I now merge it and will update the tests later
See #29
The renaming of EpochTag is not included because it would be a BC break.