diff options
author | mattn <mattn.jp@gmail.com> | 2015-01-02 18:20:16 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2015-01-02 18:20:16 +0900 |
commit | d8029554b4cbb9a1c12311d307f4154b515566b4 (patch) | |
tree | 6a88e73baf2b64650b48cb2c6e84e0b1c4fcd86f /sqlite3_test.go | |
parent | Revert d369cbb7d42232f785f51b3ef4c8b994dae83486 (diff) | |
parent | Handle 13 digit datetime values (diff) | |
download | golite-d8029554b4cbb9a1c12311d307f4154b515566b4.tar.gz golite-d8029554b4cbb9a1c12311d307f4154b515566b4.tar.xz |
Merge pull request #165 from porjo/porjo
Handle 13 digit datetime values
Diffstat (limited to 'sqlite3_test.go')
-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}, |