diff options
author | xuri <xuri.me@gmail.com> | 2019-03-21 14:09:25 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2019-03-21 14:09:25 +0800 |
commit | 70b1a29165867643e961ceef27592349a122ab7c (patch) | |
tree | 0f35760bab29f9966966ab78e6cd5681a16af910 /date_test.go | |
parent | b2c12d784e94bfb14da800962c769f5a0f6f783e (diff) |
Use bitSize for float32 type numbers conversion, relate PR #361
Diffstat (limited to 'date_test.go')
-rw-r--r-- | date_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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()) }) } |