8000 [Messenger] - formatDateTime is not correct in oracle · Issue #32427 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Messenger] - formatDateTime is not correct in oracle #32427
Closed
@roukmoute

Description

@roukmoute

Symfony version(s) affected: 4.3.1

Description
ORA-01858: a non-numeric character was found where a numeric was expected

How to reproduce
Implement Messenger with Oracle

Possible Solution
If we remove \T from $dateTime->format('Y-m-d\TH:i:s'); in \Symfony\Component\Messenger\Transport\Doctrine\Connection::formatDateTime, it works.
I think it is a special things from Oracle, is there any specifity for format datime in relation to the database?

Could we use \Doctrine\DBAL\Types\DateTimeType instead?

Additional context
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0