Skip to content

Also calculate time to go #2

@chandrashan

Description

@chandrashan

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions