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

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

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None

    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

            ccalender Chris Calender (Inactive) created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            svoj Sergey Vojtovich made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            svoj Sergey Vojtovich made changes -
            Fix Version/s 10.1 [ 16100 ]
            svoj Sergey Vojtovich made changes -
            Due Date 2017-03-10
            svoj Sergey Vojtovich made changes -
            Labels contribution foundation
            svoj Sergey Vojtovich made changes -
            Assignee Alexander Barkov [ bar ]
            svoj Sergey Vojtovich made changes -
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.1 [ 16100 ]
            danblack Daniel Black added a comment -

            ccalender, as indicated the referenced pull request implements the form ...<time>(±hh:mm|Z)

            What isn't implemented is the ISO8601 representations of timezone offsets in these forms

            • ...<time>±hhmm
            • ....<time>±hh

            Are these important to you? Is it worth doing for completeness sake?

            Are the ordinal or week forms of ISO8601 important to you?

            danblack Daniel Black added a comment - ccalender , as indicated the referenced pull request implements the form ...<time>(±hh:mm|Z) What isn't implemented is the ISO8601 representations of timezone offsets in these forms ...<time>±hhmm ....<time>±hh Are these important to you? Is it worth doing for completeness sake? Are the ordinal or week forms of ISO8601 important to you?
            ccalender Chris Calender (Inactive) added a comment - - edited

            Hi Daniel,

            Yes, the following are important (specifically the first one):

            ...<time>±hhmm
            ....<time>±hh

            I think that part would be worth doing.

            ccalender Chris Calender (Inactive) added a comment - - edited Hi Daniel, Yes, the following are important (specifically the first one): ...<time>±hhmm ....<time>±hh I think that part would be worth doing.
            bar Alexander Barkov made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.2 [ 14601 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.4 [ 22408 ]
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            ralf.gebhardt Ralf Gebhardt made changes -
            Fix Version/s 10.4 [ 22408 ]
            julien.fritsch Julien Fritsch made changes -
            Epic Link MDEV-21086 [ 80548 ]
            julien.fritsch Julien Fritsch made changes -
            Due Date 2017-03-10
            julien.fritsch Julien Fritsch made changes -
            Assignee Alexander Barkov [ bar ] Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            ralf.gebhardt Ralf Gebhardt made changes -
            Assignee Ralf Gebhardt [ ralf.gebhardt@mariadb.com ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 79246 ] MariaDB v4 [ 130581 ]
            AirFocus AirFocus made changes -
            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.
            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.
            julien.fritsch Julien Fritsch made changes -
            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.
            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.
            bar Alexander Barkov made changes -
            Assignee Alexander Barkov [ bar ]

            5 years....

            imanov Shahriyar Imanov added a comment - 5 years....
            julien.fritsch Julien Fritsch made changes -
            Issue Type Task [ 3 ] New Feature [ 2 ]
            julien.fritsch Julien Fritsch made changes -
            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.
            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.
            julien.fritsch Julien Fritsch made changes -
            Parent MDEV-10018 [ 56610 ]
            Issue Type New Feature [ 2 ] Technical task [ 7 ]
            julien.fritsch Julien Fritsch made changes -
            Epic Link MDEV-21086 [ 80548 ]
            julien.fritsch Julien Fritsch made changes -
            serg Sergei Golubchik made changes -
            Parent MDEV-10018 [ 56610 ]
            Issue Type Technical task [ 7 ] New Feature [ 2 ]
            serg Sergei Golubchik made changes -
            Epic Link MDEV-21086 [ 80548 ]
            serg Sergei Golubchik made changes -
            Epic Link MDEV-21086 [ 80548 ]
            serg Sergei Golubchik made changes -
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 182965
            ParadoxV5 Jimmy Hú made changes -
            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.
            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.
            ParadoxV5 Jimmy Hú made changes -
            Summary Please add support for datetime with time zone literals (ISO6801) Please add support for datetime with time zone literals (ISO 8601)

            Hi Max,

            30 days should be enough.

            bar Alexander Barkov added a comment - Hi Max, 30 days should be enough.
            svoj Sergey Vojtovich made changes -
            svoj Sergey Vojtovich made changes -
            svoj Sergey Vojtovich made changes -
            Labels contribution foundation foundation

            Resetting "contribution" label as there're no active pull requests.

            svoj Sergey Vojtovich added a comment - Resetting "contribution" label as there're no active pull requests.

            People

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