Closed lion-man44 closed 7 years ago
BUG!
Could you send a pull request?
I'm sorry. Sending a pull request will take a long time. It is one hour since I started studying golang.
I understood that this code is spewing out the time of the problem, but I do not know how to fix it.
// command_new.go:79
Time.Now().Format("20060201150405")
small case:
package main
import (
"fmt"
"time"
)
func main() {
fmt.Printf(time.Now().Format("20060201150405"))
}
run:
$ go run github.com/lion-man44/test.go
20171503034857%
You're wrong, it's trivial nowadays.
Go here: https://github.com/rubenv/sql-migrate/blob/master/sql-migrate/command_new.go And press the little pencil button:
Takes about 30 seconds to get the job done!
It closes because it was merged.
Hi.
Please tell me whether it is a bug or a specification.
I tried.
output:
expect:
Why are the month and the day exchanged?