Angular Moment Versions Save

Moment.JS directives for Angular.JS (timeago and more)

1.0.0-beta.2

8 years ago
  • Bugfix: Infinite digest loop when combining am-time-ago and amTimezone (#178)
  • Bugfix: Cannot use angular-moment under webpack (#108)
  • Add amLocal filter (see #114)

1.0.0-beta.1

8 years ago

!!! BREAKING CHANGE !!!

Preprocessors, timezones and input format were removed from am-time-ago and all filters. Use the new amFromUnix, amUtc, amUtcOffset, amTimezone, and amParse filters instead.

Examples:

  • <time am-time-ago="myDate" am-format="YYYY-MM-DD"> becomes <time am-time-ago="myDate|amParse:'YYYY-MM-DD'">
  • <time am-time-ago="myDate" am-preprocess="unix"> becomes <time am-time-ago="myDate|amFromUnix">
  • {{myDate|amCalendar:'unix'}} becomes {{myDate|amFromUnix|amCalendar}}
  • {{myDate|amCalendar:null:'PDT'}} becomes {{myDate|amTimezone:'PDT'|amCalendar}}

The removal of the preprocessors also affects the other positional parameters of the amTimeAgo:

{{myDate|amTimeAgo:null:true:fromDate}} becomes {{myDate|amTimeAgo:true:fromDate}}.

For more information, please see #174.

0.10.3

8 years ago
  • Allow amDateFormat to work with custom formatted input date strings (#162, contributed by jblashka)
  • amAdd, amSubtract - add/subtract a value from a given date (#171, contributed by nicholasruggeri)
  • Bugfix: Timezones with a 'Z' somewhere in them all become UTC (#168).

0.10.2

8 years ago
  • Look for moment on the global object (#133, contributed by kitbrennan90)
  • Add support to use UTC offset timezones in addition to named timezones (#151, contributed by DiegoZoracKy)
  • Add timezone parameter for amCalendar filter (#152, contributed by DiegoZoracKy)
  • Add am-from parameter to the amTimeAgo directive (#145, contributed by baleato)
  • Add from parameter to the amTimeAgo filter (#146, contributed by pipo02mix)

0.10.1

9 years ago
  • Fix broken SystemJS/JSPM support (see #104)

0.10.0

9 years ago
  • Breaking change: removed one-time binding for am-time-ago in favor of AngularJS 1.3's one time binding (#122)
  • Remove support for AngularJS 1.0.x and 1.1.x.
  • Support moment.js v2.10.x
  • Support for displaying full dates in am-time-ago (see #75)
  • Support Angular Core's style CommonJS standard (#123, contributed by seanhealy)
  • Added an optional timezone parameter to amDateFormat (#90, contributed by robertbrooker)

0.9.2

9 years ago
  • Critical fix: npm install angular-moment fails (#121)

0.9.1

9 years ago
  • Add support for locale strings customization (#102, contributed by vosi)
  • Add amDifference filter (#120, contributed by ajhodges)
  • Support for changing the timezone via amMoment.changeTimezone() (#92)
  • Support for AngularJS 1.4.x
  • Remove explicit module name for RequireJS (#112, contributed by WilliamCarter)

0.9.0

9 years ago
  • Support moment.js v2.9.0. See here for changelog.
  • Removed support for older moment.js versions. Only 2.8.0 and newer versions are now supported.
  • Removed deprecated method: amMoment.changeLanguage(). Use amMoment.changeLocale() instead.
  • Removed deprecated event: amMoment:languageChange. Listen for amMoment:localeChange instead.
  • Filters are now stateful by default (fixes #97).
  • The project is now available on NuGet (#99, contributed by markvp).

0.8.3

9 years ago
  • amTimeAgo filter (#96, contributed by maxklenk)
  • Show formatted time as element title (#78, contributed by ctesene)
  • Support commonjs and browserify (#95, contributed by Pencroff)
  • SystemJS Loader support (#85, contributed by capaj)