2022-11-19 23:16:54 +01:00
|
|
|
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)
|
|
|
|
}
|