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

Add timezone information to DATE_FORMAT

Details

    Description

      %z and %Z need to be added to the possible options for the format of DATE_FORMAT

      %z The +hhmm or -hhmm numeric timezone (hour and minute offset from UTC)
      %Z The timezone name

      Because MariaDB doesn't support a TIMESTAMP WITH TIME ZONE data type yet, they should print:

      • for a DATETIME argument — session @@time_zone value
      • for a TIMESTAMP argument — UTC

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Rucha Deodhar made transition -
            Open In Progress
            25d 11h 1m 1
            Rucha Deodhar made transition -
            In Progress In Review
            15s 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            6d 2h 28m 1
            Rucha Deodhar made transition -
            In Testing Closed
            13d 22h 6m 1
            Sergei Golubchik made transition -
            Closed Stalled
            4d 4h 41m 1
            Rucha Deodhar made transition -
            Stalled In Testing
            16d 19h 4m 2
            Ramesh Sivaraman made transition -
            In Testing Stalled
            15d 56m 1
            Rucha Deodhar made transition -
            Stalled Closed
            8d 7h 6m 1

            People

              rucha174 Rucha Deodhar
              ralf.gebhardt Ralf Gebhardt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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