Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ› fix: μ±„νŒ… λ‚ μ§œ λ³€κ²½ μ•Œλ¦Ό 둜직 μˆ˜μ • #307

Merged
merged 3 commits into from
Dec 29, 2024

Conversation

asn6878
Copy link
Member

@asn6878 asn6878 commented Dec 27, 2024

πŸ”¨ ν…ŒμŠ€ν¬

Issue

πŸ“‹ μž‘μ—… λ‚΄μš©

ν•˜λ£¨ μ „ λ‚ μ§œκ°€ 찍히던 문제 μˆ˜μ •

FEμ—μ„œ λ‚ μ§œλ₯Ό 찍을 λ•Œ, toISOString() λ©”μ„œλ“œλ₯Ό μ‚¬μš©μ€‘μ΄μ—ˆμŠ΅λ‹ˆλ‹€. ν•΄λ‹Ή μ‹œκ°„μ€ UTCμ‹œκ°„μ„ κΈ°μ€€μœΌλ‘œ λ°˜ν™˜ν•˜λ―€λ‘œ, μ„œλ²„ μ‹œκ°„μΈ ν•œκ΅­μ‹œλ³΄λ‹€ μ•½ 9μ‹œκ°„μ΄ λŠ¦μŠ΅λ‹ˆλ‹€.

λ‚ μ§œ 뢀뢄을 κ°€μ Έμ˜€λŠ” 과정을 date.toLocaleDateString('en-CA');둜 μˆ˜μ •ν•˜μ—¬ 둜컬 μ‹œκ°„κ³Ό λ™μΌν•œ λ‚ μ§œκ°€ λœ¨λ„λ‘ μˆ˜μ •ν•˜μ˜€μŠ΅λ‹ˆλ‹€.

ν•΄λ‹Ή 일에 μƒˆλ‘œμš΄ μ±„νŒ…λ‚΄μ—­μ΄ 없어도 λ‚ μ§œκ°€ μΆ”κ°€λ˜λ˜ 문제 μˆ˜μ •

image

μœ„ 사진과 같이 ν•΄λ‹Ή 일에 μƒˆλ‘œμš΄ μ±„νŒ…λ‚΄μ—­μ΄ 없어도 맀 μžμ •μ— λ‚ μ§œκ°€ ν‘œμ‹œλ˜λŠ” λ¬Έμ œκ°€ μžˆμ—ˆμŠ΅λ‹ˆλ‹€.
이λ₯Ό μˆ˜μ •ν•˜κΈ° μœ„ν•΄ λ©”μ†Œλ“œ λ‚΄ bool λ©€λ²„λ³€μˆ˜λ₯Ό μ„ μ–Έν•˜κ³ , 이λ₯Ό μ²΄ν‚Ήν•˜μ—¬ λ‚ μ§œλ₯Ό ν‘œν˜„ν•΄μ£Όλ„λ‘ μˆ˜μ •ν•˜μ˜€μŠ΅λ‹ˆλ‹€.

@asn6878 asn6878 added the πŸ‘Ή BugFix 버그 μˆ˜μ • label Dec 27, 2024
@asn6878 asn6878 self-assigned this Dec 27, 2024
Copy link
Collaborator

@CodeVac513 CodeVac513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

μˆ˜κ³ λ§ŽμœΌμ…¨μŠ΅λ‹ˆλ‹€!

Copy link
Collaborator

@Jo-Minseok Jo-Minseok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ν™•μΈν–ˆμŠ΅λ‹ˆλ‹€~ κΆκΈˆν•œ 점 컀멘트 λ‚¨κ²¨λ’€λŠ”λ° 확인 λΆ€νƒλ“œλ €μš©

client/src/utils/date.ts Show resolved Hide resolved
server/src/chat/chat.gateway.ts Outdated Show resolved Hide resolved
@asn6878 asn6878 merged commit 1bde9a0 into main Dec 29, 2024
1 check passed
@asn6878 asn6878 deleted the feat/websocket-chatting branch December 29, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
πŸ‘Ή BugFix 버그 μˆ˜μ •
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BE] μ›Ήμ†ŒμΌ“ 기반 μ±„νŒ… κ΅¬ν˜„
3 participants