·1k-date-formatting
*

1k-date-formatting

onekeyhq/app-monorepo

Guides proper date and time formatting in OneKey app. Use when displaying dates/times in UI, formatting timestamps, or when dates need to follow app locale settings. Date, time, locale, formatDate, dateUtils.

19Installs·2Trend·@onekeyhq

Installation

$npx skills add https://github.com/onekeyhq/app-monorepo --skill 1k-date-formatting

SKILL.md

This skill ensures consistent date and time formatting across the OneKey app, respecting user locale settings.

| formatDate(date, options?) | Full date and time | 2024/01/15, 14:30 | | formatTime(date, options?) | Time only | 14:30:45 | | formatRelativeDate(date) | Relative display | Today, Yesterday, 2024/01/15 | | formatDistanceToNow(date) | Time distance | 2 days ago, 5 minutes ago | | formatDateFns(date, format?) | Custom format | Based on format template |

| yyyy | 4-digit year | 2024 | | LL | 2-digit month | 01 | | dd | 2-digit day | 15 | | HH | 24-hour hours | 14 | | mm | Minutes | 30 | | ss | Seconds | 45 | | PPP | Full date | January 15, 2024 |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/onekeyhq/app-monorepo --skill 1k-date-formatting
Category
*Creative Media
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is 1k-date-formatting?

Guides proper date and time formatting in OneKey app. Use when displaying dates/times in UI, formatting timestamps, or when dates need to follow app locale settings. Date, time, locale, formatDate, dateUtils. Source: onekeyhq/app-monorepo.

How do I install 1k-date-formatting?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/onekeyhq/app-monorepo --skill 1k-date-formatting Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/onekeyhq/app-monorepo