v0.0.51: 사이드바 열 높이 고정·발행일 YYYY.MM.DD 통일

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-08 10:18:43 +09:00
parent 3cb1290711
commit 4b1ab9e00e
12 changed files with 61 additions and 81 deletions

View File

@@ -21,23 +21,6 @@ if (!post.value) {
})
}
/**
* 게시물 날짜 표시 형식 변환 (Thred 참고)
* @param {string | null} value - ISO 날짜 문자열
* @returns {string} 화면 표시 날짜
*/
const formatPostDate = (value) => {
if (!value) {
return ''
}
return new Intl.DateTimeFormat('en-US', {
month: 'short',
day: 'numeric',
year: 'numeric'
}).format(new Date(value))
}
const primaryTagSlug = computed(() => post.value.tags?.[0] || '')
const primaryTagMeta = computed(() => {
const matchedTag = tags.value.find((item) => item.slug === primaryTagSlug.value)