From fa53ee74e4a7fd4594f62dd91ae4527fce55da1c Mon Sep 17 00:00:00 2001 From: "Chris (ChrisJr404)" <11917633+ChrisJr404@users.noreply.github.com> Date: Sun, 30 Aug 2026 19:29:54 -0400 Subject: [PATCH] Normalize the UTC offset in the Start and Done banners in 32_isHTML_valid.t --- t/32_isHTML_valid.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/32_isHTML_valid.t b/t/32_isHTML_valid.t index 853cc1d..e15a306 100755 --- a/t/32_isHTML_valid.t +++ b/t/32_isHTML_valid.t @@ -79,11 +79,11 @@ $debughtml = `cat $html_file`; unlink $html_file; # Remove date information from the Start and Done banners in the two HTML files, since they were created at different times -$html =~ s/Start 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9]/Start XXXX-XX-XX XX:XX:XX/; -$debughtml =~ s/Start 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9]/Start XXXX-XX-XX XX:XX:XX/; +$html =~ s/Start 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \(UTC offset: [+-][0-9][0-9][0-9][0-9]\)/Start XXXX-XX-XX XX:XX:XX (UTC offset: +XXXX)/; +$debughtml =~ s/Start 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \(UTC offset: [+-][0-9][0-9][0-9][0-9]\)/Start XXXX-XX-XX XX:XX:XX (UTC offset: +XXXX)/; -$html =~ s/Done 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \[ *[0-9]*s\]/Done XXXX-XX-XX XX:XX:XX [ Xs]/; -$debughtml =~ s/Done 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \[ *[0-9]*s\]/Done XXXX-XX-XX XX:XX:XX [ Xs]/; +$html =~ s/Done 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \(UTC offset: [+-][0-9][0-9][0-9][0-9]\) \[ *[0-9]*s\]/Done XXXX-XX-XX XX:XX:XX (UTC offset: +XXXX) [ Xs]/; +$debughtml =~ s/Done 2[0-9][0-9][0-9]-[0-3][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9] \(UTC offset: [+-][0-9][0-9][0-9][0-9]\) \[ *[0-9]*s\]/Done XXXX-XX-XX XX:XX:XX (UTC offset: +XXXX) [ Xs]/; # Remove time difference from "HTTP clock skew" line $html =~ s/HTTP clock skew \+?-?[0-9]* /HTTP clock skew X /;