rep defect 46
This commit is contained in:
@@ -220,7 +220,12 @@ const RepCompleteSubmit = (props) => {
|
||||
function showRepsEnded(endDate) {
|
||||
let date = new Date();
|
||||
date = new Date(date.toDateString());
|
||||
const end = new Date(endDate);
|
||||
let end = new Date(endDate);
|
||||
end.setUTCHours(23);
|
||||
end.setUTCMinutes(59);
|
||||
end.setUTCSeconds(59);
|
||||
end.toISOString();
|
||||
|
||||
return end > date ? false : true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user