File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22
33[ ![ Hits] ( https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fboostcampwm-2022%2Fweb21-devrank&count_bg=%23C455F9&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false )] ( https://hits.seeyoufarm.com )
44
5+ ![ nodejs] ( https://img.shields.io/badge/node-16.17.0-%23339933?style=flat&logo=Node.js )
6+ ![ nestjs] ( https://img.shields.io/badge/nest-9.1.4-%23E0234E?style=flat&logo=NestJS )
7+ ![ redis] ( https://img.shields.io/badge/redis-6.2.5-%23DC382D?style=flat&logo=Redis )
8+ ![ mongoDB] ( https://img.shields.io/badge/mongoDB-5.0.14-%2347A248?style=flat&logo=MongoDB )
9+ ![ docker] ( https://img.shields.io/badge/docker-20.10.21-%232496ED?style=flat&logo=Docker )
10+
511![ Frame 12023] ( https://user-images.githubusercontent.com/79798443/206137429-5cb1d269-4bec-4aaa-85ad-053ae564c625.png )
612
713** _ Devrank_ ** 는 게임과 유사한 등급 시스템과 랭킹을 제공하여, Github 활동시 사용자에게 성취감을 주고 오픈소스 활동을 장려하는 서비스 입니다.
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ export class UserService {
8080 }
8181 const KR_TIME_DIFF = 9 * 60 * 60 * 1000 ;
8282 const utc = updatedUser . scoreHistory [ updatedUser . scoreHistory . length - 1 ] . date . getTime ( ) ;
83- if ( new Date ( utc + KR_TIME_DIFF ) . getDate ( ) === new Date ( ) . getDate ( ) ) {
83+ if ( new Date ( utc + KR_TIME_DIFF ) . getDate ( ) === new Date ( new Date ( ) . getTime ( ) + KR_TIME_DIFF ) . getDate ( ) ) {
8484 updatedUser . scoreHistory . pop ( ) ;
8585 }
8686 updatedUser . scoreHistory . push ( {
You can’t perform that action at this time.
0 commit comments