settings.json

timeZone

string記述場所どの設定ファイルでも可

システムのタイムゾーン以外のタイムゾーンでインターフェースの時刻を表示します。

既定値: unset, so times show in your system time zone

記述例

{
  "timeZone": "Europe/Dublin"
}

使い方・用途

  • デフォルト値は未設定(システムのタイムゾーンが表示されます)
  • v2.1.257 以降で利用可能
  • IANA タイムゾーン名(例: "UTC"、"Europe/Dublin")を設定します
  • timeFormat が "24-hour-utc" の場合は無視されます
  • /config にはこのキーの行がないため、設定ファイルで設定します
英語原文(公式ドキュメントより)

Show the times in the interface in a time zone other than your system's. Set it to an IANA time zone name, such as "UTC" or "Europe/Dublin". The times that [timeFormat](#timeformat) controls then show in this zone. If timeFormat is "24-hour-utc", times stay in UTC and Claude Code ignores this key. /config has no row for this key, so set it in a settings file. Requires Claude Code v2.1.257 or later.

関連する変更履歴

v2.1.257(1件)

Added
ターン終了時の時計とトランスクリプトビューのタイムスタンプの表示形式として、「時刻フォーマット」(timeFormat)と「タイムゾーン」(timeZone)の設定を追加しました。12時間制、24時間制、UTCの24時間制、またはstrftimeパターンから選択可能です。
英語原文を表示
Added "Time format" (timeFormat) and timeZone settings: 12-hour, 24-hour, 24-hour UTC, or a strftime pattern for the turn-end clock and transcript-view timestamps

変更前

表示される時刻の形式が固定されており、ユーザーのロケール設定に基づいた自動フォーマットのみが適用されていました。

変更後

ユーザーは12時間制、24時間制、UTCの24時間制、またはカスタムのstrftimeパターンを設定できるようになりました。また、システムタイムゾーン以外の任意のIANAタイムゾーンを指定して表示する設定も可能です。

ユーザーへの恩恵

ユーザーは好みのタイムフォーマットとタイムゾーンを設定できるようになり、ターン終了時のメッセージやトランスクリプトビューの時刻表示を自分の好みに合わせてカスタマイズできます。