Sha256: 4b03cd00e3e4abd3577f9845deca10aec7aca2b91b2d700d562efce910d5319e

Contents?: true

Size: 627 Bytes

Versions: 1821

Compression:

Stored size: 627 Bytes

Contents

import React from 'react'
import DateTime from '../_date_time'

const DateTimeDefault = (props) => (
  <div>
    <DateTime
        datetime={new Date('2020-12-31 14:24:09')}
        showDayOfWeek
        showIcon
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date()}
        showDayOfWeek
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date()}
        showIcon
        {...props}
    />

    <br />

    <DateTime
        datetime={new Date('2020/12/31 14:24:09 -0500')}
        timeZone="Asia/Tokyo"
        {...props}
    />
  </div>
)

export default DateTimeDefault

Version data entries

1,821 entries across 1,821 versions & 2 rubygems

Version Path
playbook_ui-12.4.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.3.1.pre.alpha.phone1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.3.1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.3.0.pre.alpha.patchtest1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.3.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.2.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.1.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-12.0.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.20.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.19.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.18.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.17.0 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx