xesite/cmd/site/internal/date.go

11 lines
222 B
Go
Raw Permalink Normal View History

package internal
import "time"
2020-01-28 00:50:00 +00:00
const iOS13DetriFormat = `2006 M01 2`
// IOS13Detri formats a datestamp like iOS 13 does with the Lojban locale.
func IOS13Detri(t time.Time) string {
return t.Format(iOS13DetriFormat)
}