datetime-timezone

Community

UTC-safe datetime handling across stacks.

Authormjunaidca
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Correctly handle datetime values across the full stack: browser → API → database → back to browser.

Core Features & Use Cases

  • Store UTC, Display Local: The golden rule guides how to store timestamps in UTC and render them in the user's local time zone.
  • Frontend Patterns: Convert datetime-local input values (local, no TZ) to UTC ISO strings for API storage; convert UTC timestamps from API back to local datetime-local strings for editing.
  • Backend Patterns: Normalize timezone-aware datetimes to UTC for storage; handle conversions in APIs, services, and database queries.
  • Common Scenarios: Scheduling, reminders, due dates, and any time-sensitive UI.

Quick Start

Use the datetime-timezone skill to convert a local datetime input to UTC before sending to API; convert UTC values from API back to local time for display in the UI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: datetime-timezone
Download link: https://github.com/mjunaidca/mjs-agent-skills/archive/main.zip#datetime-timezone

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.