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
Currently designed to calculate how long ago something was.
I have modified it to a formatTimeUntil() function which just swaps the timestamp around and gives the time until.
Could either have two functions - formatTimeUntil() and formatTimeAgo(), or get clever and combine the two into one function automatically. Am relatively new to Dart - but perhaps by taking the 'absolute' value then it should be pretty easy to keep things consistent?
if I work out how to add a pull request I'll submit...
The text was updated successfully, but these errors were encountered:
Currently designed to calculate how long ago something was.
I have modified it to a formatTimeUntil() function which just swaps the timestamp around and gives the time until.
Could either have two functions - formatTimeUntil() and formatTimeAgo(), or get clever and combine the two into one function automatically. Am relatively new to Dart - but perhaps by taking the 'absolute' value then it should be pretty easy to keep things consistent?
if I work out how to add a pull request I'll submit...
The text was updated successfully, but these errors were encountered: