Skill / SKILL.md

Date Parse Utc Safe

randommonicle/claude-skills

In a UTC server or serverless runtime, new Date("YYYY-MM-DD") is UTC midnight and renders as the previous day in western timezones. Parse date-only strings into explicit local components (new Date(y, m-1, d)) anywhere a date becomes a display string or a day-of-week. Triggers when parsing a date-only string server-side or computing a printed day from one. Does not fire on full ISO timestamps carrying explicit timezones.
3 views 27 repository stars 0 commentsUpdated Nov 28, 2026
Overview

In a UTC server or serverless runtime, new Date("YYYY-MM-DD") is UTC midnight and renders as the previous day in western timezones. Parse date-only strings into explicit local components (new Date(y, m-1, d)) anywhere a date becomes a display string or a day-of-week. Triggers when parsing a date-only string server-side or computing a printed day from one. Does not fire on full ISO timestamps carrying explicit timezones.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/randommonicle/claude-skills' skill-source

Use the complete skill-source/date-parse-utc-safe directory with your client’s skill installer.

Source directory date-parse-utc-safe

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
3e2421d93f93ae8adf37b8755ba7c139fe90435a96145f9e37c6155fcc3c93f6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills