go time.Parse, format "02/01/2006" is valid but "02/01/2003" not : <p>Why the first format is valid but the second not</p>

<pre><code>package main

import (
    "fmt"
    "time"
)

func main() {

    date := "21/07/1993"
    in := "02/01/2006"
    out := "02-01-2006"
    dt, err := time.Parse(in, date)
    if err != nil {
        fmt.Println(err)
    }
    fmt.Println(dt.Format(out))

    date = "21/07/1993"
    in = "02/01/2003"
    out = "02-01-2003"
    dt, err = time.Parse(in, date)
    if err != nil {
        fmt.Println(err)
    }
    fmt.Println(dt.Format(out))
}
</code></pre>

<p>Output</p>

<pre><code>21-07-1993
parsing time "21/07/1993" as "02/01/2003": cannot parse "93" as "0"
01-01-1012
</code></pre>

<p><a href="https://play.golang.org/p/Ht0XZVs54ta" rel="nofollow noreferrer">https://play.golang.org/p/Ht0XZVs54ta</a></p>
