Skip to content
Merged
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
Prev Previous commit
Next Next commit
fix: TT-485 switch time entry to new project
  • Loading branch information
gcobena-dev committed Dec 29, 2021
commit 293fe82bb0378f2031a8473a82983c258691a66f
1 change: 1 addition & 0 deletions src/app/modules/time-clock/store/entry.effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class EntryEffects {
const stopDateForEntry = new Date(response.end_date);
stopDateForEntry.setSeconds(stopDateForEntry.getSeconds() + 1);
const entry = {
activity_id: response.activity_id,
project_id: action.idProjectSwitching,
start_date: stopDateForEntry.toISOString(),
timezone_offset: new Date().getTimezoneOffset(),
Expand Down