Skip to content

Commit

Permalink
Fix: remove sri lankan time from the getAttemptsByPlayerId method
Browse files Browse the repository at this point in the history
  • Loading branch information
chethana-dissanayka authored and lihini committed Aug 29, 2024
1 parent 148370a commit b613e52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/kite-data/kite-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,8 @@ async getCurrentWeekPlayersCount() {

const results = await this.kiteDatumModel.aggregate(pipeline).exec();
return results.map(result => ({
attempt_timestamp: moment(result.attempt_timestamp).tz('Asia/Colombo').format('YYYY-MM-DDTHH:mm:ss'),
// attempt_timestamp: moment(result.attempt_timestamp).tz('Asia/Colombo').format('YYYY-MM-DDTHH:mm:ss'),
attempt_timestamp: result.attempt_timestamp,
height: result.height
}));
}
Expand Down

0 comments on commit b613e52

Please sign in to comment.