Skip to content

[fix/#363] 서버 시간 수정 및 기본 설정 닉네임 길이 수정#364

Merged
dev2yup merged 3 commits intodevelopfrom
fix/#363-fix-time-and-nickname-generation
Feb 26, 2026
Merged

[fix/#363] 서버 시간 수정 및 기본 설정 닉네임 길이 수정#364
dev2yup merged 3 commits intodevelopfrom
fix/#363-fix-time-and-nickname-generation

Conversation

@dev2yup
Copy link
Collaborator

@dev2yup dev2yup commented Feb 25, 2026

📌 연관 이슈

🌱 PR 요약

서버 시간 수정 및 기본 설정 닉네임 길이 수정, 닉네임 정책 변경(숫자 포함 허용)

🛠 작업 내용

서버 시간 수정

  • 런타임 기본 타임존: 컨테이너/JVM 기본값을 KST로 맞춤
    (TZ=Asia/Seoul, -Duser.timezone=Asia/Seoul)
  • 코드의 now() 기준: 주요 비즈니스 로직에서 now(KST)로 명시 -> LocalDateTime.now()를 LocalDateTime.now(KST)

기본 설정 닉네임 길이 수정

  • 자동 생성 닉네임의 길이가 20글자를 초과하지 않도록 UUID suffix를 잘라줌
    ex) 스트릿한_선글라스_9fa01bc3de

닉네임 정책 변경

  • 숫자 포함 가능으로 변경
    닉네임 생성, 프로필 수정에 모두 적용 및 테스트 코드 수정

📸 스크린샷

❗️리뷰어들께

일관성을 위해서
앞으로 새 코드 작성 시 LocalDate.now()/LocalDateTime.now()를 zone 없이 쓰지 않도록 유지할 것
LocalDateTime.now(KST)

@dev2yup dev2yup self-assigned this Feb 25, 2026
@dev2yup dev2yup requested a review from juuuuone as a code owner February 25, 2026 06:27
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
73.4% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@dev2yup dev2yup merged commit efe1466 into develop Feb 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] 히스토리 시간 수정 및 기본 설정 닉네임 길이 수정

1 participant