mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-06-07 10:59:44 +00:00
10 lines
230 B
Go
10 lines
230 B
Go
package services
|
|
|
|
import "time"
|
|
|
|
// nowStamp returns a sortable timestamp used to suffix moved/garbage maildirs
|
|
// so repeated cleanups don't collide.
|
|
func nowStamp() string {
|
|
return time.Now().UTC().Format("20060102T150405Z")
|
|
}
|