Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix update period for dates older than a day #148

Merged
merged 1 commit into from
Dec 16, 2020
Merged

Conversation

gunn
Copy link
Contributor

@gunn gunn commented Dec 13, 2020

For dates older than a day, and where minPeriod was set, the component updated every minPeriod.
With this update, dates older than a day are always decided by the maxPeriod option.

For dates older than a day, and where `minPeriod` was set, the component updated every `minPeriod`.
With this update, dates older than a day are always decided by the `maxPeriod` option.
@nmn nmn merged commit d97f661 into nmn:master Dec 16, 2020
@nmn
Copy link
Owner

nmn commented Dec 16, 2020

Thanks!

@gunn
Copy link
Contributor Author

gunn commented Jan 10, 2021

@nmn Thanks fo accepting. Could you release a new npm version? It needs this change to live up to its promise of "React-TimeAgo does the minimum amount of updates necessary."

@gunn gunn deleted the patch-1 branch January 14, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants