Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Releases: urish/angular-moment

Breaking changes - see 1.0.0-beta.1 for info

19 Sep 22:28
Compare
Choose a tag to compare
  • 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)

v1.0.0-beta.1: breaking changes, see description

14 Sep 09:57
Compare
Choose a tag to compare

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

v0.10.3

05 Sep 21:04
Compare
Choose a tag to compare
  • 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).

v0.10.2

28 Jul 22:06
Compare
Choose a tag to compare
  • 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)

v0.10.1: Fix SystemJS / JSPM support

01 May 16:36
Compare
Choose a tag to compare
  • Fix broken SystemJS/JSPM support (see #104)

v0.10.0

10 Apr 11:19
Compare
Choose a tag to compare
  • 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)

v0.9.2: Critical fix for 0.9.1

17 Mar 23:36
Compare
Choose a tag to compare
  • Critical fix: npm install angular-moment fails (#121)

v0.9.1

17 Mar 22:00
Compare
Choose a tag to compare
  • 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)

v0.9.0: moment.js v2.9.0, NuGet package

11 Jan 20:33
Compare
Choose a tag to compare
  • 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).

v0.8.3

09 Dec 00:00
Compare
Choose a tag to compare
  • 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)