Skip to main content
Manusで任意のスキルを実行
ワンクリックで

js-timezone-best-practices

スター1
フォーク1
更新日2026年3月21日 07:28

JavaScript/TypeScript timezone handling best practices, focusing on JST(UTC+9) <-> UTC conversion. Use this skill whenever the user is working with timezone conversion in JS/TS, dealing with Date object timezone issues, implementing DateRangePicker or date input components that need TZ-aware handling, debugging "9 hours off" bugs, using toLocaleString or Intl.DateTimeFormat with timezone concerns, or storing/retrieving dates between browser and DB. Also trigger when you see anti-patterns like `new Date(year, month, day)` used for cross-timezone scenarios, `setHours`/`setMinutes` for timezone conversion, or `toLocaleString` without a `timeZone` option. Even if the user doesn't mention "timezone" explicitly, if they're dealing with date/time mismatches between client and server, or dates shifting by hours when saved to DB, this skill applies.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly