2019-10-23 17:16:18 +00:00
|
|
|
package internal
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
2019-12-09 15:48:40 +00:00
|
|
|
const iOS13DetriFormat = `2006 M1 2`
|
2019-10-23 17:16:18 +00:00
|
|
|
|
|
|
|
// IOS13Detri formats a datestamp like iOS 13 does with the Lojban locale.
|
|
|
|
func IOS13Detri(t time.Time) string {
|
|
|
|
return t.Format(iOS13DetriFormat)
|
|
|
|
}
|