SimpleCloudNotifier/scnserver/util.go

15 lines
279 B
Go
Raw Normal View History

package server
import (
"gogs.mikescher.com/BlackForestBytes/goext/timeext"
"time"
)
func QuotaDayString() string {
return time.Now().In(timeext.TimezoneBerlin).Format("2006-01-02")
}
2022-11-20 15:40:19 +01:00
func NextDeliveryTimestamp(now time.Time) time.Time {
return now.Add(5 * time.Second)
}