From 16a03bac0a1ad7da9c6926c5731d98140e9f6907 Mon Sep 17 00:00:00 2001 From: HAYAMA Kaoru <3752189+hymkor@users.noreply.github.com> Date: Mon, 11 May 2026 23:36:59 +0900 Subject: [PATCH] test/test-oracle.ps1: Ignore timezone differences in datetime comparisons --- test/test-oracle.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-oracle.ps1 b/test/test-oracle.ps1 index e787791..8e145d4 100644 --- a/test/test-oracle.ps1 +++ b/test/test-oracle.ps1 @@ -53,11 +53,11 @@ ForEach-Object { Write-Host $field.Length return } - if ( $field[1] -ne "2015-06-07 20:21:22 +09:00" ){ + if ( $field[1] -notlike "2015-06-07 20:21:22*" ){ Write-Host $field[1] return } - if ( $field[2] -ne "2024-08-09 10:11:12.7878 +09:00" ){ + if ( $field[2] -notlike "2024-08-09 10:11:12.7878*" ){ Write-Host $field[2] return }