شعار Hof Cp Date Time

Hof Cp Date Time

مؤسسة
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".

نظرة عامة

الناشرopenreachtech
المستودعhora-skills-ort-furo
اسم المهارةhof-cp-date-time
النجوم
32
التفريعات
0
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها openreachtech على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Hof Cp Date Time في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Hof Cp Date Time في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Hof Cp Date Time تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Hof Cp Date Time بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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".

لماذا تستخدم Hof Cp Date Time على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Hof Cp Date Time عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Hof Cp Date Time في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-date-time. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hof Cp Date Time؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hof Cp Date Time؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Hof Cp Date Time معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Hof Cp Date Time مجانية؟

نعم. نشرها openreachtech على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇