Logo de Hof Cp Date Time

Hof Cp Date Time

Organização
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".

Visão geral

Publicado poropenreachtech
Repositóriohora-skills-ort-furo
Nome da habilidadehof-cp-date-time
Estrelas
32
Forks
0
Arquivos incluídos
Somente instruções
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por openreachtech no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Hof Cp Date Time no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hof Cp Date Time em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Hof Cp Date Time automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Hof Cp Date Time não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Hof Cp Date Time faz?

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

Por que usar Hof Cp Date Time no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hof Cp Date Time é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Hof Cp Date Time no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Hof Cp Date Time?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Hof Cp Date Time?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hof Cp Date Time com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Hof Cp Date Time é gratuita?

Sim. A habilidade é publicada no GitHub por openreachtech sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇