Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnetteeee committed Nov 14, 2024
1 parent 8671185 commit f497699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peer-prep-user/user-service/model/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function updateUsers(sessionIdentifier, user1, user2, question) {
var today = new Date();
var dd = String(today.getDate()).padStart(2, '0');
var mm = String(today.getMonth() + 1).padStart(2, '0');
var time = String(today.getHours() + ":" + today.getMinutes().padStart(2, '0'))
var time = String(today.getHours()).padStart(2, '0') + ":" + String(today.getMinutes()).padStart(2, '0');
var yyyy = today.getFullYear();
var dateTime = dd + '/' + mm + '/' + yyyy + " at " + time + " HOURS";
await UserModel.updateMany(
Expand Down

0 comments on commit f497699

Please sign in to comment.