Skip to content

Commit

Permalink
Merge pull request #8291 from ever-co/fix/set-now-utc-date-to-timeslot
Browse files Browse the repository at this point in the history
[Fix] Timeslot startedAt variable
  • Loading branch information
evereq authored Sep 30, 2024
2 parents 4c2fbf3 + c377842 commit 9586815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/desktop-libs/src/lib/desktop-timer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export default class TimerHandler {
const now = moment();
const nowUtcFormat = now.utc().format();
const start = lastTimeSlot.utc().format();
const startedAt = lastTimeSlot.utc().toDate();
const startedAt = now.utc().toDate();
const params = LocalStore.beforeRequestParams();
const projectInfo = LocalStore.getStore('project');
const appSetting = LocalStore.getStore('appSetting');
Expand Down

0 comments on commit 9586815

Please sign in to comment.