Logo : Hof Cp Date Time

Hof Cp Date Time

Organisation
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".

Présentation

Éditeuropenreachtech
Dépôthora-skills-ort-furo
Nom de la compétencehof-cp-date-time
Étoiles
32
Forks
0
Fichiers inclus
Instructions uniquement
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par openreachtech sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Hof Cp Date Time dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet 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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Hof Cp Date Time dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Hof Cp Date Time dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Hof Cp Date Time n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Foire aux questions

À quoi sert la compétence IA 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".

Pourquoi utiliser Hof Cp Date Time sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Hof Cp Date Time se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Hof Cp Date Time dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Hof Cp Date Time ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Hof Cp Date Time ?

Autant que vous le souhaitez. Vous pouvez utiliser Hof Cp Date Time avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Hof Cp Date Time est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par openreachtech sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇