Uploaded image for project: 'Doctrine DBAL'
  1. Doctrine DBAL
  2. DBAL-525

PostgreSQL - getDateTimeFormatString() missing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

          honzap Jan Pecek created issue -
          Hide
          deeky666 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
          deeky666 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
          beberlei Benjamin Eberlei added a comment -

          Duplicate of DBAL-415

          Show
          beberlei Benjamin Eberlei added a comment - Duplicate of DBAL-415
          beberlei Benjamin Eberlei made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.5 [ 10523 ]
          Resolution Duplicate [ 3 ]
          beberlei Benjamin Eberlei made changes -
          Link This issue duplicates DBAL-415 [ DBAL-415 ]

          This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

          • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=DBAL-525}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

            People

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

              Dates

              • Created:
                Updated:
                Resolved: