From e8f0bd1b9edc4108efe3f1015f2fa9703c605d5a Mon Sep 17 00:00:00 2001 From: shalei Date: Wed, 14 Feb 2024 15:05:16 +0800 Subject: [PATCH] fix ut --- test.mojo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.mojo b/test.mojo index baba4df..0b720c8 100644 --- a/test.mojo +++ b/test.mojo @@ -72,7 +72,7 @@ def test_strptime(): m = Morrow.strptime("20-01-2023 15:49:10", "%d-%m-%Y %H:%M:%S", TimeZone.local()) assert_equal(str(m), "2023-01-20T15:49:10.000000+08:00") - m = Morrow.strptime("2023-10-18 15:49:10 +0800", "%Y-%m-%d %H:%M:%S %z") + m = Morrow.strptime("2023-10-18 15:49:10 +08:00", "%Y-%m-%d %H:%M:%S %z") assert_equal(str(m), "2023-10-18T15:49:10.000000+08:00") m = Morrow.strptime("2023-10-18 15:49:10", "%Y-%m-%d %H:%M:%S", "+09:00")