mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Allow time entries with less than one second duration
This commit is contained in:
committed by
Constantin Graf
parent
9e1413c15f
commit
d3545b3c73
@@ -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' => [
|
||||
|
||||
@@ -70,7 +70,7 @@ class TimeEntryUpdateRequest 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' => [
|
||||
|
||||
Reference in New Issue
Block a user