-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
package main
import (
"fmt"
"time"
"github.com/go-playground/locales/en"
)
func main() {
datetime := time.Date(2016, 02, 03, 0, 0, 1, 0, time.Local)
l := en.New()
fmt.Println(l.FmtTimeShort(datetime))
}
That code should print 12:00 am
but instead it prints 0:00 am
.
12 hour time does not have 0 hours.
Metadata
Metadata
Assignees
Labels
No labels