get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2227790/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2227790,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227790/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260424091600.771549-1-jwakely@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260424091600.771549-1-jwakely@redhat.com>",
    "date": "2026-04-24T09:04:05",
    "name": "[committed] libstdc++: Update tzdata to 2026a",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "80bcde83b84364c7a4c1698245fed8b774a06d6c",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260424091600.771549-1-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 501324,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501324/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501324",
            "date": "2026-04-24T09:04:05",
            "name": "[committed] libstdc++: Update tzdata to 2026a",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501324/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227790/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227790/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=LW2LKKLs;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=LW2LKKLs",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g26lr3XhDz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 19:16:39 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id DF40A4BB3BB9\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 09:16:35 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id 4FFE44BB3B80\n for <gcc-patches@gcc.gnu.org>; Fri, 24 Apr 2026 09:16:08 +0000 (GMT)",
            "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-37-fq4zDcVrNju0-deSMuSpCg-1; Fri,\n 24 Apr 2026 05:16:04 -0400",
            "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 71B7C1956073; Fri, 24 Apr 2026 09:16:03 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.32.55])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 69A951944CED; Fri, 24 Apr 2026 09:16:02 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org DF40A4BB3BB9",
            "OpenDKIM Filter v2.11.0 sourceware.org 4FFE44BB3B80"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 4FFE44BB3B80",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 4FFE44BB3B80",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777022168; cv=none;\n b=FV0bQtcS6BaPpF/7DvcjSQEA2Rs/dOj8kIElXZmtFUHiYlsTRoNQW6PrVaf5G4L6u3Pat19tTaQbqpmdZLG0s1U4r34VnQgT2xigP1R2S1jmLDoEVcexhSxZt9t5Gxxz1UDrveM0uCIcGHbWke/mymuCm7G9BaPwrdurvlla5kE=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777022168; c=relaxed/simple;\n bh=ICh3G/dPYbZcwouKOoeRJ2MNqfpAV6V8dmE8wrkbAxc=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=ElJTST3Klb5k8bFv+ymPC7foG/+HUQRXHbIgdGEqa4FIoqzgvRjhpsMlmhwZPweEnkT+texDnr+E/YRBXh3O91RG/eJMa4GoDo5fjviTMOhfvhxiVivpP2FUVHHDnVvFwxzualc07Qc2ZY7KB4maezpDRolLCZl8p/n6uz4+8NA=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777022167;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=cGI8zxf2+yb7sjDTJdezTzGkFBtQpW04Vl0SFZigVHg=;\n b=LW2LKKLsOm5XPutLKvpFtZL88ZJfnz29gIgZsk/yid4tfXJDqcmSvIsWWm94nh6gnrMl/I\n RuzQ/dwwbJFd4fzfl1nwG84Ln7X3Wd2n6vLwDFCUHqjm8qaIwxTjbLxUvjggYFHLwHafmZ\n eO0XWXCRxSVjkBsqQpkhIPD14sGk3Lo=",
        "X-MC-Unique": "fq4zDcVrNju0-deSMuSpCg-1",
        "X-Mimecast-MFC-AGG-ID": "fq4zDcVrNju0-deSMuSpCg_1777022163",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "libstdc++@gcc.gnu.org,\n\tgcc-patches@gcc.gnu.org",
        "Subject": "[committed] libstdc++: Update tzdata to 2026a",
        "Date": "Fri, 24 Apr 2026 10:04:05 +0100",
        "Message-ID": "<20260424091600.771549-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "wGX48KfSwI2NUztyr1qp9G8YIWdUmAASA88l3Ttury4_1777022163",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Import the new 2026a tzdata.zi file and new leapseconds expiry date.\n\nlibstdc++-v3/ChangeLog:\n\n\t* include/std/chrono (chrono::__detail::__get_leap_second_info):\n\tUpdate expiry date for leap seconds list.\n\t* src/c++20/tzdb.cc (tzdb_list::_Node::_S_read_leap_seconds):\n\tLikewise.\n\t* src/c++20/tzdata.zi: Import new file from 2026a release.\n---\n\nTested x86_64-linux. Pushed to trunk.\n\nI forgot to do this for GCC 16.1, so this is only on trunk. That's\nunfortunate, because updating __expires in include/std/chrono avoids a\ncall into the shared lib for dates after 2026-06-28.\n\n2026b has just been released, so after 16.1 is released I'll update to\n2026b and backport that to the active branches.\n\n libstdc++-v3/include/std/chrono  |  2 +-\n libstdc++-v3/src/c++20/tzdata.zi | 10 ++++++----\n libstdc++-v3/src/c++20/tzdb.cc   |  4 ++--\n 3 files changed, 9 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/libstdc++-v3/include/std/chrono b/libstdc++-v3/include/std/chrono\nindex 7c887f56cc23..674f867dcdc7 100644\n--- a/libstdc++-v3/include/std/chrono\n+++ b/libstdc++-v3/include/std/chrono\n@@ -3254,7 +3254,7 @@ namespace __detail\n       };\n       // The list above is known to be valid until (at least) this date\n       // and only contains positive leap seconds.\n-      constexpr sys_seconds __expires(1782604800s); // 2026-06-28 00:00:00 UTC\n+      constexpr sys_seconds __expires(1798416000s); // 2026-12-28 00:00:00 UTC\n \n #if _GLIBCXX_USE_CXX11_ABI || ! _GLIBCXX_USE_DUAL_ABI\n       if (__ss > __expires)\ndiff --git a/libstdc++-v3/src/c++20/tzdata.zi b/libstdc++-v3/src/c++20/tzdata.zi\nindex c56f67c02f6d..88f7d34a3817 100644\n--- a/libstdc++-v3/src/c++20/tzdata.zi\n+++ b/libstdc++-v3/src/c++20/tzdata.zi\n@@ -1,4 +1,5 @@\n-# version 2025c\n+# version 2026a\n+# redo posix_only\n # This zic input file is in the public domain.\n R d 1916 o - Jun 14 23s 1 S\n R d 1916 1919 - O Su>=1 23s 0 -\n@@ -1304,8 +1305,8 @@ R MT 1974 o - S 16 0s 0 -\n R MT 1975 1979 - Ap Su>=15 2 1 S\n R MT 1975 1980 - S Su>=15 2 0 -\n R MT 1980 o - Mar 31 2 1 S\n-R MD 1997 ma - Mar lastSu 2 1 S\n-R MD 1997 ma - O lastSu 3 0 -\n+R MD 1997 2021 - Mar lastSu 2 1 S\n+R MD 1997 2021 - O lastSu 3 0 -\n R O 1918 1919 - S 16 2s 0 -\n R O 1919 o - Ap 15 2s 1 S\n R O 1944 o - Ap 3 2s 1 S\n@@ -3666,7 +3667,8 @@ Z Europe/Chisinau 1:55:20 - LMT 1880\n 3 R MSK/MSD 1990 May 6 2\n 2 R EE%sT 1992\n 2 e EE%sT 1997\n-2 MD EE%sT\n+2 MD EE%sT 2022\n+2 E EE%sT\n Z Europe/Dublin -0:25:21 - LMT 1880 Au 2\n -0:25:21 - DMT 1916 May 21 2s\n -0:25:21 1 IST 1916 O 1 2s\ndiff --git a/libstdc++-v3/src/c++20/tzdb.cc b/libstdc++-v3/src/c++20/tzdb.cc\nindex eb6ac7d07c72..b0fbfc46a6d3 100644\n--- a/libstdc++-v3/src/c++20/tzdb.cc\n+++ b/libstdc++-v3/src/c++20/tzdb.cc\n@@ -1256,8 +1256,8 @@ namespace std::chrono\n   pair<vector<leap_second>, bool>\n   tzdb_list::_Node::_S_read_leap_seconds()\n   {\n-    // This list is valid until at least 2026-06-28 00:00:00 UTC.\n-    constexpr auto expires = sys_days{2026y/06/28};\n+    // This list is valid until at least 2026-12-28 00:00:00 UTC.\n+    constexpr auto expires = sys_days{2026y/12/28};\n     vector<leap_second> leaps\n     {\n       (leap_second)  78796800, // 1 Jul 1972\n",
    "prefixes": [
        "committed"
    ]
}