v14.0.8


widgets

Datetime

Format dates and times in a smart way

Features

  • Native options
  • Uses the correct semantic markup
  • Supports ISO date formats

Anatomy

import { Datetime } from "@wonderflow/react-components";
export default () => {
return <Datetime date="" />;
};

tsx

API Reference

PROPERTY
TYPE
DEFAULT
date*
string
locale
string
en-US
options
Intl.DateTimeFormatOptions

Created by Wonderflow Design Team for Wonderflow.

© Wonderflow 2024