Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

[Bug] updateTime() is called too often for future dates #73

Closed
gkrzyminski opened this issue Sep 1, 2014 · 1 comment
Closed

[Bug] updateTime() is called too often for future dates #73

gkrzyminski opened this issue Sep 1, 2014 · 1 comment

Comments

@gkrzyminski
Copy link

var howOld = moment().diff(momentInstance, 'minute');

howOld returns negative value for future time, resulting with interval set to 1 second.

It should be replaced with an absolute one.

@urish urish changed the title [Bug] updateTime interval [Bug] updateTime() is called too often for future dates Sep 1, 2014
@urish urish closed this as completed in 4a73092 Sep 1, 2014
@urish
Copy link
Owner

urish commented Sep 1, 2014

Good catch, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants