foam-framework / foam-framework/foam

Date.toRelativeDateString() is broken for dates in the future

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
783
Forks
51
PR merge metrics
No merged PRs in 30d

Description

It was designed for describing in words how long ago eg. an email was from. For things in the future, it hits the `seconds < 60` case and always returns `"moments ago"`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.