Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: TT-258 modificate atribute star_date to view time in
  • Loading branch information
kevinjlope authored and jase156 committed Jul 2, 2021
commit 76d763f5e80de1cb207c1e1d826385388cdff8e3
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ describe('TimeEntriesComponent', () => {
uri: 'http://testing.is.fun',
activity_id: 'sss',
project_id: 'id',
start_date: component.canMarkEntryAsWIP ? new Date() : new Date(new Date().setHours(0, 0, 0, 0)),
start_date: new Date(),
end_date: new Date(new Date().setHours(0, 0, 0, 0))
};
state.timeEntriesDataSource.data = [lastEntry];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class TimeEntriesComponent implements OnInit, OnDestroy {
uri: dataToUse.uri ? dataToUse.uri : '',
activity_id: dataToUse.activity_id,
project_id: dataToUse.project_id,
start_date: this.canMarkEntryAsWIP ? new Date() : startDate,
start_date: new Date(),
end_date: startDate
};
this.entry = entry;
Expand Down