Comments (4)
Could you provide me your code snippet about using <TimeAgo>
?
from timeago-react.
Of course, i already put it, but here's again: https://codesandbox.io/s/timeago-mininterval-bug-sll79
from timeago-react.
@YagoBiermann we did some improvement in the latest version(v3.0.4), you could check the code here. But we still need you to do some change in your code to fix this issue. In brief, you have to make the props unchanged.
const timeAgoOpts = { minInterval: 60 }
<TimeAgo opts={timeAgoOpts} datetime={time} />
Please let me know if you have any other question.
from timeago-react.
@alanwei0 now it seems to be working fine, thank you very much for the attention. Have a good day!
from timeago-react.
Related Issues (20)
- Locale attribute doesn't work. HOT 2
- Using TimeAgo within code and outside render method HOT 2
- Requesting to change or add the feature to show 'a few second ago' HOT 2
- Please publish module. HOT 3
- Transfer ci to github action HOT 1
- README locale import snippet doesn't work out-of-the-box HOT 2
- JSX element type 'TimeAgo' is not a constructor function for JSX elements. HOT 6
- 'opts.minInterval' unit (seconds/millseconds etc) is not mentioned in documentation HOT 1
- Add other time formatting options HOT 1
- Does not work with React v17
- How do you use the options? HOT 1
- The format is not working HOT 2
- Real time not updating in react HOT 1
- Failed to parse source map HOT 7
- Incorrect time ago values HOT 2
- React 18 HOT 1
- why show this type of error on console HOT 3
- move code to react functional component
- npm run build报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timeago-react.