diff options
author | Micah Stetson <micah@stetsonnet.org> | 2012-12-29 16:51:15 -0800 |
---|---|---|
committer | Micah Stetson <micah@stetsonnet.org> | 2012-12-29 16:51:15 -0800 |
commit | 44496728c24982a76893272b23d0c7e949b5818c (patch) | |
tree | 52213678b7cff4949e39e5db8591610029f26fd3 /sqlite3.go | |
parent | Support time values with nanosecond precision (diff) | |
download | golite-44496728c24982a76893272b23d0c7e949b5818c.tar.gz golite-44496728c24982a76893272b23d0c7e949b5818c.tar.xz |
Support more of the timestamp formats undestood by SQLite
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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", } |