datetime

Enforce UTC storage and convert to KST at response boundaries.

Updated Jan 11, 2026
One-click install
npx skills add https://github.com/gykk16/spring-skeleton --skill datetime-gykk16
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datetime
Source: https://github.com/gykk16/spring-skeleton/tree/main/.omc/skills/datetime
Command: npx skills add https://github.com/gykk16/spring-skeleton --skill datetime-gykk16

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust and consistent approach to handling date and time operations, ensuring accuracy and preventing common timezone-related bugs in applications.

Core Features & Use Cases

  • UTC-First Storage: Enforces UTC as the single source of truth for all internal data storage and processing.
  • KST Conversion: Manages seamless conversion to Korean Standard Time (KST) specifically at the response boundary for user-facing displays.
  • Utility Functions: Offers convenient utility classes and extensions for parsing, formatting, and manipulating dates and times.
  • Use Case: Automatically process incoming event data, store timestamps in UTC, and display them to users in KST without any manual conversion logic in your application code.

Quick Start

Ensure all datetime inputs are UTC and use the provided utilities for any necessary KST conversions at the response boundary.

Frequently Asked Questions about datetime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle timezone conversion between UTC and KST in my application?

Handle timezone conversion by storing all datetime values in UTC internally and converting to KST explicitly at the response boundary using utility classes. This prevents local time discrepancies and ensures data integrity across application layers.

Why does storing local time instead of UTC cause bugs in date handling?

Storing local time instead of UTC causes bugs due to timezone discrepancies and daylight saving changes. A UTC-first approach establishes a single source of truth for internal processing, preventing common errors related to local time mismatches across application layers.

What is the best way to standardize datetime parsing and formatting across application layers?

The best way to standardize datetime parsing and formatting is enforcing UTC as the single source of truth for internal processing. Utility classes handle parsing and formatting operations, while explicit timezone conversion to KST is applied only at the response boundary.

Do I need to manually convert timestamps to UTC before processing event data?

No, manual conversion is unnecessary. You ensure all incoming datetime inputs are UTC, and the provided utilities automatically process event data, store timestamps in UTC, and display them to users in KST without manual conversion logic in your application code.

When should I apply KST conversion in a UTC-first datetime architecture?

Apply KST conversion specifically at the response boundary for user-facing displays. Internal storage and processing remain entirely in UTC, and you only convert to Korean Standard Time when presenting the datetime data to the end user.

Can I use this datetime approach to prevent local time discrepancies in user-facing responses?

Yes, this approach prevents local time discrepancies by standardizing datetime handling with UTC-first storage. Explicit conversion to KST at the response boundary ensures user-facing displays are accurate without compromising internal data integrity.