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

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

    XMLWordPrintable

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

      MDEV-11576

      Thank you for your consideration.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              ccalender Chris Calender (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              14 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.