foam-framework / foam

Feature-Oriented Active Modeller
Apache License 2.0
787 stars 55 forks source link

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

Open bshepherdson opened 9 years ago

bshepherdson commented 9 years ago

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