Releases: urish/ngx-moment
Releases · urish/ngx-moment
1.3.3
- Fix: amCalendar causes protractor to timeout on waiting async Angular (#135, contributed by romanovma)
1.3.2
- Fix: Add missing
add
and subtract
pipes to the NgModule (#134, contributed by datencia)
1.3.1
- Add missing
amAdd
and amSubtract
pipes (fixes #130)
1.3.0 - Angular 4 support
- Enable Angular 4 as peer dependency
amAdd, amSubtract, enhance amCalendar
Happy new year!
- Add
referenceTime
and format
args to amCalendar
(#64, contributed by irsick)
- Add
amAdd
and amSubtract
pipes (#113, contributed by dustin486)
- Fix: Do not import whole Rx.js library (#117, contributed by FabienDehopre)
Bug fix Release
*** Breaking change: Requires moment 2.16.0 or newer
- Fix “Expression has changed after it was checked” (#111, contributed by nithril)
- Fix "Module 'moment' has no exported member 'UnitOfTime'" (#112)
Bug fix release
*** Breaking change: typescript sources are no longer published in the npm package
- Inline sources in the source map file, should fix #96.
- Handle undefined dates in
amDateFormat
pipe (#105, contributed by amcdnl)
Follow Angular 2 Style Guide conventions
*** Breaking change! Source files renamed, which could affect your imports:
import { TimeAgoPipe } from 'angular-moment/TimeAgoPipe';
now becomes:
import { TimeAgoPipe } from 'angular-moment/time-ago.pipe';
All changes:
- Rename source files to follow Angular 2 Style Guide conventions
- Require
moment
>= 2.13.0, and remove @types/moment
from our dependencies (as it is already included in moment
)