Skip to content

Commit

Permalink
Merge pull request #103 from CS3219-AY2425S1/kervyn/ivans-fix
Browse files Browse the repository at this point in the history
Update repository.js
  • Loading branch information
kervyntan authored Nov 13, 2024
2 parents b9180d6 + 0c24098 commit 09f699e
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())
var time = String(today.getHours() + ":" + 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 09f699e

Please sign in to comment.