From 70b1a29165867643e961ceef27592349a122ab7c Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 21 Mar 2019 14:09:25 +0800 Subject: Use bitSize for float32 type numbers conversion, relate PR #361 --- date_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'date_test.go') diff --git a/date_test.go b/date_test.go index 709fb00..3ec0b69 100644 --- a/date_test.go +++ b/date_test.go @@ -38,14 +38,14 @@ func TestTimeToExcelTime(t *testing.T) { } func TestTimeToExcelTime_Timezone(t *testing.T) { - msk, err := time.LoadLocation("Europe/Moscow") + location, err := time.LoadLocation("America/Los_Angeles") if !assert.NoError(t, err) { t.FailNow() } for i, test := range trueExpectedDateList { t.Run(fmt.Sprintf("TestData%d", i+1), func(t *testing.T) { assert.Panics(t, func() { - timeToExcelTime(test.GoValue.In(msk)) + timeToExcelTime(test.GoValue.In(location)) }, "Time: %s", test.GoValue.String()) }) } -- cgit v1.2.1