Sha256: b4bc4b6a2cb037e5b8de86c406c6619e6066f84ea89a79e84fe6bc6b76c22dda
Contents?: true
Size: 939 Bytes
Versions: 1497
Compression:
Stored size: 939 Bytes
Contents
import React from 'react' import Timestamp from '../_timestamp' const todaysDate = new Date() const year = new Date().getFullYear() const month = new Date().getMonth() const date = new Date().getDate() const hours = new Date().getHours() - 10 const minutes = new Date().getMinutes() const customDate = new Date(year, month, date, hours, minutes) const TimestampElapsed = (props) => { return ( <div> <Timestamp showUser text="Maricris Nonato" timestamp={todaysDate} variant="elapsed" {...props} /> <br /> <Timestamp showUser={false} timestamp={customDate} variant="elapsed" {...props} /> <br /> <Timestamp hideUpdated showUser={false} timestamp={customDate} variant="elapsed" {...props} /> </div> ) } export default TimestampElapsed
Version data entries
1,497 entries across 1,497 versions & 2 rubygems