Skip to content
Merged
Changes from all commits
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
fix clock out time
  • Loading branch information
enriquezrene committed Dec 10, 2020
commit 116cbc18e4a27031d2bed721ec709069383046db
2 changes: 1 addition & 1 deletion AutomaticClockOuts/time_entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TimeEntry {
}

getTimeToClockOut() {
return moment().utc().subtract(this.timeEntry.timezone_offset, 'minutes').toISOString();
return moment().utc().toISOString();
}

needsToBeClockedOut() {
Expand Down