From 0b05acc293a940d3bfedf2df5fba12c49ac9ec35 Mon Sep 17 00:00:00 2001 From: Ian Bishop Date: Fri, 2 Jan 2015 16:31:46 +1000 Subject: Handle 13 digit datetime values --- sqlite3_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sqlite3_test.go') diff --git a/sqlite3_test.go b/sqlite3_test.go index 9cc5a0e..3e50258 100644 --- a/sqlite3_test.go +++ b/sqlite3_test.go @@ -309,6 +309,7 @@ func TestTimestamp(t *testing.T) { {"0000-00-00 00:00:00", time.Time{}}, {timestamp1, timestamp1}, {timestamp1.Unix(), timestamp1}, + {timestamp1.UnixNano() / int64(time.Millisecond), timestamp1}, {timestamp1.In(time.FixedZone("TEST", -7*3600)), timestamp1}, {timestamp1.Format("2006-01-02 15:04:05.000"), timestamp1}, {timestamp1.Format("2006-01-02T15:04:05.000"), timestamp1}, -- cgit v1.2.3