Logo vun Hof Cp Date Time

Hof Cp Date Time

Organisatioun
openreachtech
hof-cp-date-time

Use when building a date and/or time selection control in a repo that consumes @openreachtech/furo-vue, such as "date picker", "pick a date", "time input", "date and time field", "schedule at". Routes to FuroDatePicker, FuroTimeField, FuroDateTimePicker. Also use when showing a timestamp on screen, such as "show the updated time", "format a date", "display in the user's time zone".

Iwwersiicht

Editeuropenreachtech
Repositoryhora-skills-ort-furo
Skill-Nummhof-cp-date-time
Stären
32
Forks
0
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum openreachtech op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hof Cp Date Time an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-cp-date-time .claude/skills/hof-cp-date-time
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hof Cp Date Time an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hof Cp Date Time automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hof Cp Date Time net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

FuroDatePicker / FuroTimeField / FuroDateTimePicker

Three molecule-layer controls for date/time selection. FuroDatePicker is a calendar-backed date field (segments + popover calendar) whose wire value is a YYYY-MM-DD string. FuroTimeField is a segmented inline time input (no popover) whose wire value is HH:MM:SS. FuroDateTimePicker composes both of them into a single popover control whose wire value is the combined YYYY-MM-DDTHH:MM:SS string — use it instead of manually pairing a date picker and a time field side by side. Pick exactly one of the three based on what the underlying data represents (date only, time only, or a combined timestamp), not on how you want it to look.

  • Layer: molecule (all three)
  • Import: import { FuroDatePicker, FuroTimeField, FuroDateTimePicker } from '@openreachtech/furo-vue'
  • Manifest entries: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name equal to 'FuroDatePicker', 'FuroTimeField', or 'FuroDateTimePicker'

Read the manifest before writing markup if you need to confirm this information is still current — the library may have added props/events since this skill was written.

When NOT to use

  • Plain single-line text/number input with no calendar/time semantics → use hof-cp-text-field instead.
  • You need a date range (start + end) rather than a single date — none of these three model a range; check the manifest for a dedicated range component before hand-rolling two FuroDatePickers.
  • Needs a label / hint / error message wrapper around it → wrap in FuroControlBlock (see hof-cp-control-block), don't hand-roll a <label>.
  • You only need an inline click-to-edit display/edit toggle for an arbitrary value (not specifically a date/time widget) → see hof-cp-editable-field.
  • The trigger for opening a floating panel is a plain button/icon with arbitrary content (not a date field) → see hof-cp-popover or hof-cp-dropdown-menu.

Props

FuroDatePicker

PropTypeDefaultNotes
parcelDatePickerParcel | nullnullReactive data object. Furo-only keys are stripped before passthrough to the underlying primitive.
triggerParcelRecord<string, unknown> | nullnullPassed to the date field / trigger via v-bind.
contentParcelRecord<string, unknown> | nullnullPassed to the popover content via v-bind.

FuroTimeField

PropTypeDefaultNotes
parcelTimeFieldParcel | nullnullReactive data object. Furo-only keys are stripped before passthrough to the underlying primitive.

FuroDateTimePicker

PropTypeDefaultNotes
parcelDateTimePickerParcel | nullnullReactive data object. Molecule-only keys are consumed here and used to derive the child parcels.

parcel fields

FuroDatePicker parcel

FieldTypeDefaultNotes
valuestring | null—Currently selected date as YYYY-MM-DD or null.
invalidboolean—Shows error chrome and sets aria-invalid.
placeholderstring | null—Placeholder text for the date field.
disabledboolean—Disables all interaction.
minValuestring | null—Minimum selectable date (YYYY-MM-DD). Earlier dates are non-interactive.
maxValuestring | null—Maximum selectable date (YYYY-MM-DD). Later dates are non-interactive.
displayFormatstring | null—Reserved for v1.1 localized display format (not yet applied).
timezonestring | nullnullIANA timezone identifier. Interprets Date object inputs before normalization; no effect on YYYY-MM-DD strings.
closeOnSelectboolean | nulltrueWhether the popover closes when a date is selected.
localestring | nullbrowser localeDrives the date field's segment order; falls back to 'en' outside the browser.
preventDeselectboolean | nulltrueWhen true, re-selecting the selected date keeps it instead of clearing.
todayButtonTextstring | null'Today'Label for the footer Today button; pass null to hide it.
clearButtonTextstring | null'Clear'Label for the footer Clear button; pass null to hide it.

FuroTimeField parcel

FieldTypeDefaultNotes
valuestring | null—Current time as HH:MM:SS (or HH:MM) or null. The context also accepts Date / Time at the boundary.
invalidboolean—Forces error chrome and aria-invalid (external validation).
placeholderstring | null—Placeholder text for the time field.
disabledboolean—Disables all interaction.
readonlyboolean—Segments are focusable but not editable.
minValuestring | null—Minimum time (HH:MM:SS). Out-of-range values are flagged, not clamped.
maxValuestring | null—Maximum time (HH:MM:SS). Out-of-range values are flagged, not clamped.
timeFormatnumber | nulllocale default12 or 24. When unset, the locale default applies.
granularity'hour' | 'minute' | 'second' | null'minute'Controls visible segments.
stepnumber | null1Step amount for arrow edits and the buttons; the unit follows granularity. Forwarded as native step.
stepSnappingboolean | null—Optional stepSnapping. Forwarded only when explicitly set.
timezonestring | nullnullIANA timezone; normalizes Date inputs to wall-clock parts in that zone. Never forwarded to the primitive.

FuroDateTimePicker parcel

FieldTypeDefaultNotes
valuestring | null—Combined value as YYYY-MM-DDTHH:MM:SS or null. Split into date/time parts and recombined on change.
invalidboolean—Shows error chrome and aria-invalid on the unit shell; also forwarded to both atoms.
placeholderstring | null—Placeholder text for the date field.
disabledboolean—Disables all interaction.
minValuestring | null—Minimum selectable datetime (YYYY-MM-DDTHH:MM:SS). See cross-field rule in features.
maxValuestring | null—Maximum selectable datetime (YYYY-MM-DDTHH:MM:SS). See cross-field rule in features.
timezonestring | nullnullIANA timezone identifier forwarded to both atoms.
granularity'hour' | 'minute' | 'second' | null—Visible time segments. Does not change the wire format (always second precision).
stepnumber | null—Step amount for the time field's increment / decrement buttons.
timeFormatnumber | nulllocale default12 or 24. When unset, the locale default applies.

Events

FuroDatePicker

EventPayloadFires when
change-valueDatePickerEmitPayloadFired when the user selects a date.
commit-valueDatePickerEmitPayloadFired on the same selection event (single-date close-on-select UX).
update:valuestring | nullISO YYYY-MM-DD string or null. Suitable for v-model:value.

FuroTimeField

EventPayloadFires when
change-valueTimeFieldEmitPayloadFired when the user edits a segment.
commit-valueTimeFieldEmitPayloadFired on the same edit event (inline single-region UX).
update:valuestring | nullHH:MM:SS string or null. Suitable for v-model:value.

FuroDateTimePicker

EventPayloadFires when
change-valueDateTimePickerEmitPayloadFired when either the date or time part changes.
commit-valueDateTimePickerEmitPayloadFired on the same change event.
update:valuestring | nullCombined YYYY-MM-DDTHH:MM:SS string. Selecting a date sets 12:00:00; null only while no date is set.

Slots

FuroDatePicker

SlotDescription
trigger-iconReplaces the default calendar icon inside the trigger.
prev-iconReplaces the left-arrow icon in the calendar header.
next-iconReplaces the right-arrow icon in the calendar header.
field-suffixCustom content inside the trigger field, after the segments and before the trigger icon.
content-footerCustom content inside the popover, below the calendar.

FuroTimeField

SlotDescription
decrement-iconReplaces the caret-down icon in the decrement stepper.
increment-iconReplaces the caret-up icon in the increment stepper.

FuroDateTimePicker

No slots — the manifest lists an empty slots array for this component.

Fallthrough attributes

class and style compose onto the root of all three. Every other attribute lands as follows:

ComponentAttributes go toidaria-*, data-*
FuroDatePickerthe date picker state root, which renders no elementthe visually hidden inputdropped
FuroTimeFieldthe time field divthe visually hidden inputthe time field div
FuroDateTimePickernothingdroppeddropped

The visually hidden input carries tabindex="-1", so a <label for> aimed at that id points at an element the keyboard never reaches. Label these controls with an aria-label where it lands, or with visible text beside them.

Usage

vue
<script>
import {
  FuroDatePicker,
  FuroTimeField,
  FuroDateTimePicker,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroDatePicker,
    FuroTimeField,
    FuroDateTimePicker,
  },
}
</script>

<template>
  <FuroDatePicker
    v-model:value="form.dueDate"
    :parcel="{ invalid: context.hasDueDateError(), minValue: context.todayIsoDate }"
    placeholder="Select due date"
    @commit-value="context.onCommitDueDate({ payload: $event })"
  />

  <FuroTimeField
    v-model:value="form.startTime"
    :parcel="{ invalid: context.hasStartTimeError(), granularity: 'minute' }"
    placeholder="Select start time"
  />

  <FuroDateTimePicker
    v-model:value="form.scheduledAt"
    :parcel="{ invalid: context.hasScheduledAtError() }"
    placeholder="Select date and time"
  />
</template>

With a label/hint/error wrapper:

vue
<template>
  <FuroControlBlock :parcel="{ label: 'Due date', error: context.dueDateError }">
    <FuroDatePicker
      v-model:value="form.dueDate"
      :parcel="{ invalid: context.hasDueDateError() }"
    />
  </FuroControlBlock>
</template>

Timestamps and the viewer's time zone

A moment in time travels as an ISO 8601 instant carrying its offset, such as 2026-10-13T06:12:21Z, and is shown in the viewer's own time zone. The server stores and returns the instant; the screen alone decides the zone.

Display a timestamp with Intl.DateTimeFormat, passing the locale and leaving timeZone unset, so the browser applies the viewer's zone:

js
formatUpdatedAt ({
  updatedAt,
  locale,
}) {
  return new Intl.DateTimeFormat(locale, {
    dateStyle: 'medium',
    timeStyle: 'short',
  })
    .format(new Date(updatedAt))
}

Do not slice the ISO string or print it as it arrives: either one shows the server's zone, which is UTC for most APIs.

Send what FuroDateTimePicker selects as an instant. Its YYYY-MM-DDTHH:MM:SS value carries no offset, and JavaScript reads such a string as the viewer's local time, so new Date(value).toISOString() turns it into the instant the viewer meant.

A date with no time, such as a birthday or a due date, is not a moment. Keep it as the YYYY-MM-DD string FuroDatePicker emits, and never pass it through new Date(), which reads a date-only string as UTC midnight and can show the day before.

Rules (per project conventions)

  • Pass parcel + use v-model:value — this is the one documented exception to the project's general no-v-model rule, which applies only to custom in-project components, not to furo-vue library components.
  • Never import the underlying headless primitive — only the public FuroDatePicker / FuroTimeField / FuroDateTimePicker exports.
  • Put commit/validation logic in the page/component Context (on{Field}Commit style method), not inline in the template.
  • Prefer FuroDateTimePicker over composing FuroDatePicker and FuroTimeField yourself whenever the underlying data model is a single combined timestamp — it keeps the calendar single-sourced and normalizes the wire format for you.
  • Pass only the parcel keys this skill lists. A component reads the keys it names and ignores the rest, so a mistyped key changes nothing and reports nothing, so check a key against the manifest rather than trusting silence.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hof Cp Date Time?

Use when building a date and/or time selection control in a repo that consumes @openreachtech/furo-vue, such as "date picker", "pick a date", "time input", "date and time field", "schedule at". Routes to FuroDatePicker, FuroTimeField, FuroDateTimePicker. Also use when showing a timestamp on screen, such as "show the updated time", "format a date", "display in the user's time zone".

Firwat Hof Cp Date Time op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hof Cp Date Time besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hof Cp Date Time an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hof Cp Date Time benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hof Cp Date Time benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hof Cp Date Time domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hof Cp Date Time gratis?

Jo. De Skill gëtt vum openreachtech ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇