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

          Hide
          Steve Müller added a comment -

          Jan Pecek can you please test if this is fixed in current master? Benjamin Eberlei supplied a patch for this in commit: https://github.com/doctrine/dbal/commit/feedcfae9a03aab01ef147128807e9c6e463e0ab

          Show
          Steve Müller added a comment - Jan Pecek can you please test if this is fixed in current master? Benjamin Eberlei supplied a patch for this in commit: https://github.com/doctrine/dbal/commit/feedcfae9a03aab01ef147128807e9c6e463e0ab
          Hide
          Benjamin Eberlei added a comment -

          Duplicate of DBAL-415

          Show
          Benjamin Eberlei added a comment - Duplicate of DBAL-415

            People

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

              Dates

              • Created:
                Updated:
                Resolved: