urish / angular-moment

Moment.JS directives for Angular.JS (timeago and more)
MIT License
2.6k stars 397 forks source link

Want 'am-time-until' directive to accompany 'am-time-ago' #256

Open dawningfuture opened 8 years ago

dawningfuture commented 8 years ago

I was trying to use the 'am-time-ago' directive with a date that is set in the future and I am getting many errors. Would it be possible to add an 'am-date-until' directive to replicate the functionality of 'am-date-ago' only for dates in the future, or are there ways to use existing functionality to achieve this?

sonicwong commented 8 years ago

+1

WirelessElephant commented 8 years ago

I am using the am-time-ago with future dates and am getting no errors. The text changes to "in 3 minutes", for example.