Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11829

Please add support for datetime with time zone literals (ISO6801)

    Details

      Description

      This is a feature request requesting to please add support for datetime with time zone literals (ISO6801).

      A valid value with this format would be:

      2016-12-10T10:10:10-05:00

      As far as I know, we do support part of ISO6801, which is:

      2016-12-10T10:10:10

      However, we do not support the trailing time zone literal ("-05:00" in this case).

      For reference, this code revision is what mentions the partial support of ISO6801:

      At least the following formats are recogniced (based on number of digits)
      ...
      YYYYMMDDTHHMMSS where T is a the character T (ISO8601)

      https://github.com/MariaDB/server/blob/bb2c1a52c61706dde8c525a8887f2d364c0db1eb/sql-common/my_time.c#L269

      Also, this bug is spawned off of the following bug (which was designated "not a bug", thus I wanted to file a feature request for the future):

      https://jira.mariadb.org/browse/MDEV-11576

      Thank you for your consideration.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                ccalender Chris Calender
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated: