Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117491 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 69501 invoked from network); 7 Apr 2022 08:17:18 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Apr 2022 08:17:18 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E36D81804DB for ; Thu, 7 Apr 2022 02:47:45 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 7 Apr 2022 02:47:42 -0700 (PDT) Received: by mail-lf1-f52.google.com with SMTP id z12so8621100lfu.10 for ; Thu, 07 Apr 2022 02:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wx1X/CW73I+5G1tj6xhBXeTSbasWcOX+3SvLaJ9fnXY=; b=iHcfuiNQMXkWjK1j3jpnIT+rDg9XWEaUUW1ziuzQzy7zUoBeuN/gpk/DT15JQKQ5v7 W0emigc+QOmaAyc8xGWkWdhTZwOeiK9kMRNMCQFQnbnak89FqUOCfG/Eu9EdaNCLNy1t vAGYMJNOF8oga57w+52ZltYQH3GIQjqzpr1nTvEo2ysxeE9NfBKHkoyBVr/G3OdbTwNB 9zlE5MuxSlV9cKsJhJ0Sv+QEOUwq0s3tJgOG0zohxbOf8WMpFHTj+0KTqWFQGIPscjpF l8OS02y3G7XZkYH+yfTfjVV4cl4upAtezYlo10B251JrAICKp04pboMDY+dBIzk8oASR /ZgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wx1X/CW73I+5G1tj6xhBXeTSbasWcOX+3SvLaJ9fnXY=; b=zkrP2z5WzrqpNl8PMfdjrnzQCYZnEPX1Iqla+yDFSyqx4RiBRVyvGvT6jelDH+JKV6 ZO5+rXewZvFmtz4vpQqSbNgpZg14rc4gjgzbRja0iXhrePrOzvEcjkRVZYaaP4S5flvN s+OyFy3va3Q0n7eZbCMhAmRg8ttAEpLONUXHgtloIOrBFGbd1Vgo+5IMOVr7oy6oFTYk BUy6xY5cWSCID1OqwXaF2Hgz+Cn+16cn3Wyc2J71anwh/UtYke2wv9gg63cdCXot+0Qf 3K5E60tTTELhDPH5+QzvB6rPVE3IbrJFlQdnb3LNTcyF3jmXhVLLbjnBjuKPX0MOaiK0 he/w== X-Gm-Message-State: AOAM533z7oFyAaMzHSLWiK6G0GbhI8E3Q+EYltqa05kmTFoRwCAWLVza 7h5Z03TE6m/M/gCnqpWkw36AZx+YnokyLBlg6E6yqLLO X-Google-Smtp-Source: ABdhPJzkGFbXLev3CpHHKJUa/vuyJeCrXvP/of/G85lAMRjdEncPYmqCph/wWrdIAiVJoCbqLGlE4qMNkxNb+4RcKzk= X-Received: by 2002:a05:6512:39d2:b0:44b:230:1658 with SMTP id k18-20020a05651239d200b0044b02301658mr8773298lfu.555.1649324860580; Thu, 07 Apr 2022 02:47:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 7 Apr 2022 11:47:24 +0200 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="0000000000006f258705dc0d5ebe" Subject: Re: [PHP-DEV] Timezone Rules, which dataset to pick? From: nikita.ppv@gmail.com (Nikita Popov) --0000000000006f258705dc0d5ebe Content-Type: text/plain; charset="UTF-8" On Thu, Apr 7, 2022 at 11:34 AM Derick Rethans wrote: > Hi! > > As you might be aware, I maintain the date time support in PHP. As part > of that I regularly have to update the rules that timezones employ - > changes in Daylight Saving Time rules, or other changes to rules due to > political foibles. > > In the last few years, the maintainer of the Iana TZ Data project has > diverged somewhat from the consensus of the community, and degraded some > data by no longer having an entry for each country and merged timezones > where data does not differ since 1970. (Removing transitions from these > regions where data **does** differ before 1970, even if these were > available). > > Java's date/time maintainer has created a fork based on the original > Iana TZ data to put back some of the removed/deprecated data to better > serve their users, and I would think that this is also best suited as a > data set for PHP. > > If you want to read about the intricacies, see: > https://github.com/JodaOrg/global-tz#rationale > > But this does mean a divergence from the "official" TZ data, although > Joda's data is arguably better. My recommendation is that from the 2022b > release we switch to Joda's version. (I will today merge in the 2022a > data from the Iana source.) > > Comments? > > If you want to discuss this live, come find me in "Room 11": > https://chat.stackoverflow.com/rooms/11/php > > cheers, > Derick > Keeping in mind that people deploying PHP on Linux usually end up using OS-provided zoneinfo, do you know which source distros base that on? I think we should follow the distro-consensus here, whatever that may be. Regards, Nikita --0000000000006f258705dc0d5ebe--