On Wed, Nov 9, 2022 at 9:00 AM Erez Rokah <
er...@cloudquery.io> wrote:
>
> The string format used is `"2006-01-02 15:04:05.999999999 -0700 MST"` which is `time.String()` internal format
Thanks.
You originally asked whether this is a bug or not. I don't think this
is a bug. It's true that it's not easy to use time.Parse to parse a
string generated by time.String. That is perhaps unfortunate, but
it's a consequence of how the various functions work.
As I noted earlier the -m= has been around for a long time. I don't
know what changed in Go 1.19. When I run your test with Go 1.18, it
fails for me.
Ian
> --
> You received this message because you are subscribed to the Google Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
golang-nuts...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/bc51019f-9794-41eb-8a86-96234bc1ea11n%40googlegroups.com.