diff --git a/src/components/Config.tsx b/src/components/Config.tsx index d098ff2..8495d83 100644 --- a/src/components/Config.tsx +++ b/src/components/Config.tsx @@ -48,21 +48,25 @@ const RelayConfig = () => { ); }; -const dateFormats: { id: Config['dateFormat']; name: string; example: string }[] = [ +const dateFormats: { + id: Config['dateFormat']; + name: string; + example: string; +}[] = [ { id: 'relative', - name: '相対', - example: '〜秒前', + name: '相対表記', + example: '7秒前', }, { id: 'absolute-short', - name: '絶対 (短形式)', - example: '昨日 12:34', + name: '絶対表記 (短形式)', + example: '昨日 23:55', }, { id: 'absolute-long', - name: '絶対 (長形式)', - example: '2023', + name: '絶対表記 (長形式)', + example: '2020/11/8 21:02:53', }, ]; @@ -76,13 +80,13 @@ const DateFormatConfig = () => { return (

時刻の表記

-
+
{({ id, name, example }) => ( -
+
- {example} +
{example}
)} @@ -118,7 +122,7 @@ const ConfigUI = (props: ConfigProps) => { role="button" onClick={handleClickContainer} > -
+

設定