Allow time entries with less than one second duration

This commit is contained in:
Constantin Graf
2024-09-12 13:01:17 +02:00
committed by Constantin Graf
parent 9e1413c15f
commit d3545b3c73
3 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ class TimeEntryStoreRequest extends FormRequest
'end' => [
'nullable',
'date_format:Y-m-d\TH:i:s\Z',
'after:start',
'after_or_equal:start',
],
// Whether time entry is billable
'billable' => [