You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am using the .fromNow(); function in moment.js (for example, it returns "2 hours ago"), I get the correct amount of hours ago a tweet was posted, but when I use .twitter() instead, it returns the incorrect amount of hours (Instead of returning "2h" it returns "1h"). The tweets are from different feeds posted in different timezones and I convert the timestamps to UTC. Any advice on how to fix this?
Thanks!
The text was updated successfully, but these errors were encountered:
Hey @austb25. Any chance you could create a jsfiddle to replicate the issue? If you have one of the timestamps, you should be able to create a moment instance and log the output of both methods.
Hi there,
When I am using the .fromNow(); function in moment.js (for example, it returns "2 hours ago"), I get the correct amount of hours ago a tweet was posted, but when I use .twitter() instead, it returns the incorrect amount of hours (Instead of returning "2h" it returns "1h"). The tweets are from different feeds posted in different timezones and I convert the timestamps to UTC. Any advice on how to fix this?
Thanks!
The text was updated successfully, but these errors were encountered: