Popularity
3.1
Stable
Activity
0.0
Stable
211
10
24
Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
react-time alternatives and similar libraries
Based on the "Time / Date / Age" category.
Alternatively, view react-time alternatives based on common mentions on social networks and blogs.
-
timeago-react
:clock8: Simple and efficient react component to format date with `*** time ago` statement. eg: '3 hours ago'.
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Promo
surveyjs.io
Do you think we are missing an alternative of react-time or a related project?
README
React Time
Component for React to render relative and/or formatted dates by using
<time>
HTML5 element and preserving machine readable format in datetime
attribute.
Installation
% npm install react-time
Usage
import React from 'react'
import Time from 'react-time'
class MyComponent extends React.Component {
render() {
let now = new Date()
let wasDate = new Date("Thu Jul 18 2013 15:48:59 GMT+0400")
return (
<div>
<p>Today is <Time value={now} format="YYYY/MM/DD" /></p>
<p>This was <Time value={wasDate} titleFormat="YYYY/MM/DD HH:mm" relative /></p>
</div>
)
}
}