Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-710

[GH-449] Document possible Sqlite datetime issues.

    Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of bantu:

      Url: https://github.com/doctrine/dbal/pull/449

      Message:

      This may also be considered a bug instead.

      ```
      SQLite version 3.7.17 2013-05-20 00:56:22
      Enter ".help" for instructions
      Enter SQL statements terminated with a ";"
      sqlite> create table tbl1(dt datetime);
      sqlite> insert into tbl1 (dt) VALUES ('2013-05-20 00:56');
      sqlite> insert into tbl1 (dt) VALUES ('foo');
      sqlite> select * from tbl1;
      2013-05-20 00:56
      foo
      sqlite> select datetime(dt) from tbl1;
      2013-05-20 00:56:00

      sqlite>
      ```

      Discovered via https://github.com/owncloud/core/issues/6327
      Refs https://github.com/owncloud/core/commit/f8088ecd29af75072f96a3841709faf72c6e8fa1

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-449] was closed:
        https://github.com/doctrine/dbal/pull/449

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-449] was closed: https://github.com/doctrine/dbal/pull/449

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: