Sha256: b18ccc47ba393e64b8b7c888798f4dea3fa440676455a0c7e4dd2dfaea52e0da
Contents?: true
Size: 1.62 KB
Versions: 27
Compression:
Stored size: 1.62 KB
Contents
import React from 'react' import Timestamp from '../_timestamp.jsx' const TimestampTimezones = (props) => { return ( <div> <Timestamp align="left" showDate="false" showTimezone="true" timestamp={new Date().getTime()} timezone="America/New_York" {...props} /> <br /> <Timestamp align="left" showDate="true" showTimezone="true" timestamp={new Date().getTime()} timezone="America/New_York" {...props} /> <br /> <Timestamp align="left" showDate="true" showTimezone="true" timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()} timezone="America/New_York" {...props} /> <br /> <Timestamp align="left" showDate="false" showTimezone="true" timestamp={new Date().getTime()} timezone="Asia/Hong_Kong" {...props} /> <br /> <Timestamp align="left" showDate="true" showTimezone="true" timestamp={new Date().getTime()} timezone="Asia/Hong_Kong" {...props} /> <br /> <Timestamp align="left" showDate="true" showTimezone="true" timestamp={new Date((new Date()).getFullYear() + 4, (new Date().getMonth()), (new Date().getDate() + 1)).getTime()} timezone="Asia/Hong_Kong" {...props} /> </div> ) } export default TimestampTimezones
Version data entries
27 entries across 27 versions & 1 rubygems