diff options
author | Ian Bishop <ianbishop@pace7.com> | 2015-01-02 16:31:46 +1000 |
---|---|---|
committer | Ian Bishop <ianbishop@pace7.com> | 2015-01-02 16:42:25 +1000 |
commit | 0b05acc293a940d3bfedf2df5fba12c49ac9ec35 (patch) | |
tree | 6a88e73baf2b64650b48cb2c6e84e0b1c4fcd86f /sqlite3_test.go | |
parent | Revert d369cbb7d42232f785f51b3ef4c8b994dae83486 (diff) | |
download | golite-0b05acc293a940d3bfedf2df5fba12c49ac9ec35.tar.gz golite-0b05acc293a940d3bfedf2df5fba12c49ac9ec35.tar.xz |
Handle 13 digit datetime values
Diffstat (limited to '')
-rw-r--r-- | sqlite3_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
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}, |