Subject: [PATCH 2/2] gnu: mozjs: Work around DST affected tests.

From: Hilton Chain <[email-masked]>
Date: Sun, 13 Apr 2025 23:38:54 +0800

* gnu/packages/gnuzilla.scm (mozjs)[arguments]<#:phases>: Use UTC for timezone
related tests.

Change-Id: I480c78d208ccecda8a5467461a0e5c7228262f9d
---
 gnu/packages/gnuzilla.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 76d5ab1d29..6bcff1c348 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -178,6 +178,10 @@ (define-public mozjs
                   ((".*killed process should not have exitStatus.*")
                    ""))
 
+                ;; FIXME: Affected by DST.
+                (substitute* "non262/Date/15.9.5.7.js"
+                  (("PST") "UTC"))
+
                 ;; This was fixed sometime between 102.15.1 and 115.11.0.
                 ;; These tests are supposed to be skipped on all 64-bit systems.
                 #$@(if (target-riscv64?)
-- 
2.49.0