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

Please add support for datetime with time zone literals (ISO 8601)

    XMLWordPrintable

Details

    Description

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

      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 ISO 8601, 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 ISO 8601:

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

      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):

      MDEV-11576

      Thank you for your consideration.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              ccalender Chris Calender (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.