follow date

This commit is contained in:
mr
2026-03-16 11:40:00 +01:00
parent a86e78841b
commit 55a039bd66
2 changed files with 3 additions and 1 deletions

View File

@@ -82,7 +82,8 @@ func (abs *PricedResource) GetLocationEnd() *time.Time {
func (abs *PricedResource) GetLocationStart() *time.Time {
if abs.BookingConfiguration == nil {
return nil
now := time.Now().Add(2 * time.Minute)
return &now
}
return abs.BookingConfiguration.UsageStart
}