amMoment.changeLanguage()
. Use `amMoment.changeLocale() instead.amMoment:languageChange
. Listen for amMoment:localeChange
instead.amTimeAgo
filter (#96, contributed by maxklenk)amMoment.changeLanguage()
was deprecated in favor of amMoment.changeLocale()
(following a change introduced in moment v2.8.1)updateTime()
is called too often for future dates (#73)<time>
element - set the datetime
attribute (#41, contributed by gsklee)serverTime
configuration option (#53, contributed by Facundo Pedrazzini)am-time-ago
(#54, contributed by Ephi Gabay)moment
as an injectable constant instead of relying on $window.moment
(#35, contributed by just-boris)amMoment
service with a changeLanguage()
method (#32, contributed by Ornthalas)moment-timezone
to devDependencies (fixes #34)amCalendar
and amDateFormat
filters (#27, contributed by kayhadrin)am-without-suffix
attribute to am-time-ago
(#22, contributed by hramaker)amDuration
filter (#20, contributed by gabrielstuff)am-time-ago
support for empty string (#15)am-time-ago
will only change the text once there is dateamDateFormat
filter (#14)am-format
attribute to am-time-ago
(#11)amDateFormat
filter (#12)