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

Add timezone information to DATE_FORMAT

    XMLWordPrintable

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

            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.