From cbbf8da6ac8da0cee6d61ee0be24df0edd63538a Mon Sep 17 00:00:00 2001 From: John DeRegnaucourt Date: Sat, 7 Oct 2023 13:56:37 -0400 Subject: [PATCH] Pacific hour not matching expected value in test --- src/test/java/com/cedarsoftware/util/TestSimpleDateFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/cedarsoftware/util/TestSimpleDateFormat.java b/src/test/java/com/cedarsoftware/util/TestSimpleDateFormat.java index 8b2754d0..1d7e663f 100644 --- a/src/test/java/com/cedarsoftware/util/TestSimpleDateFormat.java +++ b/src/test/java/com/cedarsoftware/util/TestSimpleDateFormat.java @@ -109,7 +109,7 @@ public void testSetCalendar() throws Exception assertEquals(0, cal.get(Calendar.SECOND)); cal.clear(); - cal.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles")); + cal.setTimeZone(TimeZone.getTimeZone("PST")); cal.setLenient(false); x.setCalendar(cal); x2.setCalendar(cal);