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
Given a Date object, convert it into a length of time ago from now. The length of time should be floored.
For example, a date from 2024-2-17 14:19:17 and today's date of 2024-2-20 13:45:54 would say "2d ago", but
2024-2-17 14:19:17 and today's date of 2024-2-20 16:45:54 would say "3d ago".
We'll do #min ago, #h ago, #d ago, #m ago, and #y ago.
The text was updated successfully, but these errors were encountered:
Given a Date object, convert it into a length of time ago from now. The length of time should be floored.
For example, a date from 2024-2-17 14:19:17 and today's date of 2024-2-20 13:45:54 would say "2d ago", but
2024-2-17 14:19:17 and today's date of 2024-2-20 16:45:54 would say "3d ago".
We'll do #min ago, #h ago, #d ago, #m ago, and #y ago.
The text was updated successfully, but these errors were encountered: