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

week() and ISO 8601

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 5.5, 10.1, 10.2, 10.3, 10.4
    • N/A
    • Temporal Types
    • all

    Description

      I tested ISO 8601 behavior on PostgreSQL and MariaDB:
      PostgreSQL:
      SELECT EXTRACT (WEEK from '2019-12-30'::date) => 1
      MariaDB:
      SELECT WEEK('2019-12-30') => 52

      I published result.

      Andrew Hutchings answered:
      Beat me to it �. We should maybe update the week doc to mention mode 3 is 8601

      So, here is the ticket, to forget it.

      Attachments

        Activity

          People

            bar Alexander Barkov
            miracee miracee
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.