From 58f9287559b26ec44a9a68c4351efa88327be51d Mon Sep 17 00:00:00 2001
From: Alluuu <22728104+Alluuu@users.noreply.github.com>
Date: Fri, 4 Jun 2021 18:06:58 +0300
Subject: This closes #409 Remove UTC timezone requirement from date.go (#853)

According to issue #409

There is absolutely no reason for the timezone to be in UTC, and converting the local times to UTC while keeping values is hacky at least.

Excel has no understanding of timezones, hence the user of this library should know what timezone their values are supposed to be, by following the timezone within their timeTime structs.
---
 stream_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'stream_test.go')

diff --git a/stream_test.go b/stream_test.go
index 391c99d..cf133f1 100644
--- a/stream_test.go
+++ b/stream_test.go
@@ -57,7 +57,7 @@ func TestStreamWriter(t *testing.T) {
 	assert.NoError(t, err)
 	assert.NoError(t, streamWriter.SetRow("A4", []interface{}{Cell{StyleID: styleID}, Cell{Formula: "SUM(A10,B10)"}}))
 	assert.NoError(t, streamWriter.SetRow("A5", []interface{}{&Cell{StyleID: styleID, Value: "cell"}, &Cell{Formula: "SUM(A10,B10)"}}))
-	assert.EqualError(t, streamWriter.SetRow("A6", []interface{}{time.Now()}), ErrToExcelTime.Error())
+	assert.NoError(t, streamWriter.SetRow("A6", []interface{}{time.Now()}))
 
 	for rowID := 10; rowID <= 51200; rowID++ {
 		row := make([]interface{}, 50)
-- 
cgit v1.2.1