portable-datetime

Community

Handle datetime across timezones with the UTC Sandwich pattern.

Authoreykd
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you write portable datetime handling code that works across timezones, ensuring consistency in data storage, calculations, and display.

Core Features & Use Cases

  • UTC Sandwich Pattern: Standardizes datetime operations by converting to UTC, working in UTC, and converting back to local timezones.
  • Time Storage: Store timestamps in UTC to ensure portability and consistency across databases and systems.
  • Time Conversion: Converts timestamps to and from UTC and local timezones as needed.
  • Use Case: For instance, a developer can use this Skill to write scheduling logic that is timezone-independent, ensuring that events are scheduled correctly regardless of the server's location.

Quick Start

Run the portable-datetime skill with the following command: portable-datetime convert 2025-01-15T12:00:00.000Z 'America/New_York'

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: portable-datetime
Download link: https://github.com/eykd/vance-ts/archive/main.zip#portable-datetime

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 620,000+ vetted skills library on demand.