diff options
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()) }) } |