Date

Last modified by Manuel Leduc on 2024/11/25 16:18

Description

The date extension provides UI components to display localized dates.

User

N/A

Admin

N/A

Developer

Package name @xwiki/cristal-date-ui

Date

  • name: Date

Props

type Props = { date: Date }

Usage

<script type="ts" setup>
import { Date } from "@xwiki/cristal-date-ui";
</script>

<template>
<!-- Display the current date in the current locale. -->
<date :date="new Date()" />
</template>

Display the provided date in a localized form.

France 2030 Logo

This project is being financed by the French State as part of the France 2030 program

Ce projet est financé par l’État Français dans le cadre de France 2030

  • Powered by XWiki 16.4.4-node1. Hosted and managed by XWiki SAS

Get Connected