From 44496728c24982a76893272b23d0c7e949b5818c Mon Sep 17 00:00:00 2001 From: Micah Stetson Date: Sat, 29 Dec 2012 16:51:15 -0800 Subject: Support more of the timestamp formats undestood by SQLite --- sqlite3.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sqlite3.go') diff --git a/sqlite3.go b/sqlite3.go index 6c0fc61..0a21d23 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -46,7 +46,11 @@ import ( // datetime column, the formats are tried in order. var SQLiteTimestampFormats = []string{ "2006-01-02 15:04:05.999999999", + "2006-01-02T15:04:05.999999999", "2006-01-02 15:04:05", + "2006-01-02T15:04:05", + "2006-01-02 15:04", + "2006-01-02T15:04", "2006-01-02", } -- cgit v1.2.3