Skip to content

Commit 981cfb8

Browse files
authored
Update details-fields.component.ts
1 parent 4ef1559 commit 981cfb8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app/modules/shared/components/details-fields/details-fields.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ export class DetailsFieldsComponent implements OnChanges, OnInit {
269269
const updatedHour = this.entryForm.value[hour];
270270
const updatedDate = new Date(`${entryFormDate}T${updatedHour.trim()}`).toISOString();
271271
const initialDate = get(this.entryToEdit, date, updatedDate);
272-
const initialHour = formatDate(get(this.entryToEdit, date, updatedDate), 'HH:mm', 'en');
273272
const dateHasNotChanged = (initialDate === updatedDate);
274273
const result = dateHasNotChanged ? initialDate : updatedDate;
275274
return result;

0 commit comments

Comments
 (0)