Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-525

PostgreSQL - getDateTimeFormatString() missing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.5
    • Component/s: Platforms
    • Security Level: All
    • Environment:
      PostgreSQL Database

      Description

      Using PostgreSQL and column with "timestamp without time zone" returns datetime in format Y-m-d H:i:s.u but not always. If u is zero the PHP driver returns Y-m-d H:i:s format only. Specification of function getDateTimeFormatString is missing for this case too. It's required to resolve described different two formats and add getDateTimeFormatString with usec to postgres platform
      It's similar as DBAL-397 but for not time zone datetimes. It throws the same exception as in linked issue.

        Issue Links

          Activity

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              Jan Pecek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: