🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #613

[Bug 300977] TZ=UTC0UTC date prints wrong weekday

#613
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 10:24
44 lines
3069 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300977

            Bug ID: 300977
           Summary: TZ=UTC0UTC date prints wrong weekday
           Product: Base System
           Version: 15.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: eserte12@yahoo.de

`TZ=UTC0UTC` is not handled correctly. When set, date and other tools return a
wrong weekday.

```
$ TZ=UTC date         
Fri Nov 20 20:13:28 UTC 2026

$ TZ=UTC0 date                    
Fri Nov 20 20:13:28 UTC 2026

$ TZ=UTC0UTC date                 
Wed Nov 20 20:13:28 UTC 2026
```

This used to be correct in earlier FreeBSD versions (15.1?). The UTC0UTC value
is used in the perl test suite, which started to fail. See
https://github.com/Perl/perl5/issues/25089 for the issue in perl's bug tracker.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300977-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300977] TZ=UTC0UTC date prints wrong weekday
Date: Sat, 21 Nov 2026 10:24:57 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300977-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="34374"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795256697;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=nHpTZroMYXJ5mUUy3YBO6zrESucv6fALdpJpXOP/pe0=;
	b=rsb9JCFk8HxFMss5mE0BhmsfP7tlWihU/BsJRRDaRGurzqSOrWcKHYemWE8ln6jy8w1ftA
	lfabogglW+mqwnYaNhlh2M0fIfHlUSsxJ2Bty6CtRSV2cARke4dxjNi4GTuaxphljwvZ8+
	sra+f3b3nWSPF66b6exYDNDOpFqxtRQIlzgDCInp8BD9OlMC7VmoEL4YOdz2QwoEvWgsQ2
	M2xtwNv1gdq4J21QqPSg3vtnnO31cGl5gcwE2wz14Mp0k2e2WLg3vL5v47DrhtHsCNi7L5
	ldv82tm0A4XZ1sIYRq8+iGRmzttRrUJos85NsEI1haXzMWqcvFiPPbVAmElkgg==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes