ChoisSTANDARD UI컴포넌트 검색 /

Helpers

Format Date

semantic HTML

Intl 형식으로 날짜와 시간을 표시합니다.

stablefreeSince 0.3

Live example

Published:

<p>Published: <time datetime="2026-07-11T09:30:00Z" data-standard-component="format-date" data-date="2026-07-11T09:30:00Z" data-locale="en" data-style="long">July 11, 2026</time></p>

Variants and sizes

The pattern inherits theme and density tokens. Use compact, comfortable, or roomy density when the surrounding screen requires it.

compactcomfortableroomy

Public API

ContractValue
Implementationsemantic HTML
Statusstable
Licensefree
Since0.3
HTML contractNative HTML elements and attributes
EventsNative browser events

Accessibility

모호한 날짜 문자열 대신 ISO 8601을 사용하고 JavaScript-off 환경에도 같은 의미의 fallback 텍스트를 제공합니다.

Server template guidance

<!-- Render the semantic HTML on the server. Load enhancement JavaScript only when this interaction is needed. -->