fix: support nullable end times on timesheet creation

See https://github.com/kimai/kimai/issues/3720
This commit is contained in:
decentral1se
2023-01-18 20:45:31 +01:00
parent fb987ec70c
commit adcc0c7317
2 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,7 @@ type TimesheetEditForm struct {
// end
// Example: 2023-01-14T05:12:43
// Format: date-time
End strfmt.DateTime `json:"end,omitempty"`
End *strfmt.DateTime `json:"end,omitempty"`
// exported
Exported bool `json:"exported,omitempty"`