← Back to Skills Marketplace
tommot2

Locale Dates

by TommoT2 · GitHub ↗ · v3.1.0 · MIT-0
cross-platform ✓ Security Clean
221
Downloads
1
Stars
0
Active Installs
13
Versions
Install in OpenClaw
/install locale-dates
Description
Format and convert dates, times, and durations. Compute timezones, relative time, and weekday/month names in local language. Instruction-based — no exec or d...
README (SKILL.md)

Locale Dates v3.1

Install: clawhub install locale-dates

Date/time formatting and conversion. Pure instructions — no exec, no dependencies.

Language

Detect from user's message language. Default: English.

How It Works

The agent formats dates and times using its built-in knowledge. No exec calls, no scripts, no external tools.

Timezone Conversion

Use well-known UTC offsets. Common timezones:

ID Offset Region
UTC +0 Universal
Europe/Oslo +1/+2 Norway, CEST winter/summer
Europe/London +0/+1 UK, BST
America/New_York -5/-4 US Eastern, EDT
America/Chicago -6/-5 US Central, CDT
America/Los_Angeles -8/-7 US Pacific, PDT
Asia/Tokyo +9 Japan
Asia/Shanghai +8 China
Australia/Sydney +10/+11 Australia, AEDT

Note: The agent knows the current time from session_status. Apply offsets mentally — no exec needed.

Relative Time

Compute date differences using built-in knowledge:

User says Agent computes
"3 timer siden" Current time minus 3 hours
"om 2 dager" Current date plus 2 days
"hvor lenge til 17. mai" Days from today to 2026-05-17
"i forrige uke" 7 days ago
"nest mandag" Next Monday's date

Format Conversion

Convert between formats using known patterns:

Format Pattern Used By
ISO 8601 YYYY-MM-DDTHH:mm:ss±HH:MM Technical, logs, APIs
European DD.MM.YYYY Norway, Germany, EU
American MM/DD/YYYY United States
UK DD/MM/YYYY UK, Ireland, Australia
Japanese YYYY年MM月DD日 Japan

Weekday and Month Names

Provide names in the user's language:

Language Monday January
Norwegian mandag januar
English Monday January
German Montag Januar
French lundi janvier
Spanish lunes enero
Japanese 月曜日 1月

Quick Commands

User says Action
"hva er klokka i Tokyo" Apply offset, format in user's locale
"hvor mange dager til X" Compute difference
"formatter denne datoen" Convert format
"norsk dato for 2026-04-03" Localized format

Guidelines for Agent

  1. No exec — use built-in date knowledge
  2. Always specify timezone — ambiguous dates cause errors
  3. Check SOUL.md/USER.md for user's preferred format
  4. Match user language — "mandag 3. mars" not "Monday, March 3"
  5. Use ISO 8601 per SOUL.md convention unless user requests otherwise
  6. UTC vs local time — OpenClaw logs, session transcripts, and system messages use UTC timestamps internally. When presenting times to the user, ALWAYS convert to their local timezone (Europe/Oslo = UTC+1 winter / UTC+2 summer). Never show raw UTC times without noting the conversion. Rule of thumb: if you see a timestamp and the hour seems wrong, check if it's UTC and convert.

What This Skill Does NOT Do

  • Does NOT use exec, shell, or any subprocess
  • Does NOT modify any files
  • Does NOT require Node.js, PowerShell, or any external tool
  • Does NOT persist anything

More by TommoT2

  • setup-doctor — Diagnose and fix OpenClaw setup issues
  • context-brief — Persistent context survival across sessions
  • smart-api-connector — Connect to any REST API

Install the full suite:

clawhub install locale-dates setup-doctor context-brief smart-api-connector

Changelog

v3.1 — 2026-04-23

  • Added rule #6: UTC vs local time — always convert UTC timestamps to user's local timezone when presenting to user. OpenClaw logs and session transcripts use UTC internally.
Usage Guidance
This skill appears coherent and low-risk: it is instruction-only and needs no credentials. Before installing, confirm that your agent environment provides the referenced contexts (session_status, SOUL.md/USER.md or equivalent user preferences)—the skill expects the agent to read those to determine current time and preferred formats. If you do not want the agent to access user preference files or to automatically convert UTC to local time, either deny that access or ask the agent explicitly which timezone/source it used when answering. Also be aware that timezone/DST edge cases are handled by the model's knowledge rather than a timezone database, so small inaccuracies are possible for obscure historical or policy-change cases.
Capability Analysis
Type: OpenClaw Skill Name: locale-dates Version: 3.1.0 The 'locale-dates' skill is a purely instruction-based bundle designed for date and time formatting and timezone conversion. It contains no executable code, requests no system capabilities, and explicitly instructs the agent to avoid using shell execution or external dependencies. The instructions in SKILL.md and the reference data in references/locales.md are consistent with the stated purpose and do not contain any indicators of malicious intent or prompt injection attacks.
Capability Assessment
Purpose & Capability
Name and description (format/convert dates, timezones, relative time, locale names) match the provided SKILL.md and reference table. No binaries, env vars, or external services are requested — everything is instruction-based and appropriate for this purpose.
Instruction Scope
Instructions are narrowly scoped to parsing/formatting dates and converting timezones using the agent's built-in context. Two minor notes: (1) the guide tells the agent to consult 'session_status' for current time and to check SOUL.md/USER.md for preferred formats — those are references to platform/user context the skill doesn't explicitly declare access to, so installation environments should confirm those contexts are available to the agent; (2) the skill emphasises always converting UTC to the user's local timezone (gives Europe/Oslo as an example) which is a presentation choice rather than a security risk but could lead to unexpected output if the agent lacks correct user timezone info.
Install Mechanism
No install spec and no code files to write or execute. Instruction-only skills carry the lowest disk/execution risk and the provided reference table is static content.
Credentials
No environment variables, credentials, or config paths are requested. The skill does mention checking user preference docs, but it does not request secrets or unrelated credentials.
Persistence & Privilege
always:false and user-invocable:true. The skill does not request persistent presence or elevated privileges and does not attempt to modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install locale-dates
  3. After installation, invoke the skill by name or use /locale-dates
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.1.0
Added UTC vs local time rule for log/session timestamp conversion
v3.0.0
Removed all exec usage. Pure instruction-based date/time formatting. No Node.js or PowerShell needed. Declared empty capabilities and configPaths.
v2.0.1
Replaced PowerShell exec with Node.js for timezone and date calculations. Cleaner cross-platform support.
v2.0.0
Exec-based calculations instead of static docs. Live timezone conversion, relative time, format conversion via PowerShell/Node.
v1.6.2
Install command now inline for visibility
v1.6.1
Added standalone install command
v1.6.0
Removed Python dependency (detect-locale.py). Added timezone conversion, relative time, and duration calculation. Improved description with more trigger words. No external dependencies.
v1.5.0
Security: removed all USER.md file access. Format preferences are session-only.
v1.4.0
Security: added homepage/provenance.
v1.3.0
Security: replaced npx clawhub@latest with clawhub install.
v1.2.0
Added cross-promotion: recommends setup-doctor, context-brief, email-triage-pro. Flagged as flagship skill.
v1.1.0
Optimized description with SEO keywords, expanded locale examples, international workflow mention
v1.0.0
Initial release: 100+ country locale formats, ISO 8601 support, heartbeat timestamp fix, locale auto-detection script
Metadata
Slug locale-dates
Version 3.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 13
Frequently Asked Questions

What is Locale Dates?

Format and convert dates, times, and durations. Compute timezones, relative time, and weekday/month names in local language. Instruction-based — no exec or d... It is an AI Agent Skill for Claude Code / OpenClaw, with 221 downloads so far.

How do I install Locale Dates?

Run "/install locale-dates" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Locale Dates free?

Yes, Locale Dates is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Locale Dates support?

Locale Dates is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Locale Dates?

It is built and maintained by TommoT2 (@tommot2); the current version is v3.1.0.

💬 Comments