SQLite Forum

Feature Request: more flexible timestring parsing
Login
I believe it does. But I'm more knowledgeable about calling C code from Go than building Go code to be linked for another lib.


The Go package could be very simple.

```go
package timeparse

import "time"

func Parse(layout, value string) (string, error) {
        t, err := time.Parse(layout, value)
        if err != nil {
                return "", err
        }
        return t.Unix().Format(`2006-01-02T15:04:05.999999999Z`), nil
}
```