From 5ae8b2b0cf331f1ee9c634eaa3b99edfbea86363 Mon Sep 17 00:00:00 2001 From: skwang Date: Wed, 3 May 2017 12:58:03 +0800 Subject: [PATCH] add time format for am/pm --- sqlite3.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlite3.go b/sqlite3.go index 33b9b9c..2212a1f 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -135,6 +135,8 @@ var SQLiteTimestampFormats = []string{ "2006-01-02 15:04", "2006-01-02T15:04", "2006-01-02", + "2006-01-02 03:04:05 AM", + "2006-01-02 03:04:05 PM", } func init() {