Calculations

ngx-moment

Angular ngx Moment by Urish

A moment.js pipes project for Angular working with Angular 5+. Great for time/date calculations.

Project website https://github.com/urish/ngx-moment

Documentation Readme

License MIT

Demo http://plnkr.co/edit/wpJXpEh4zNZ4uCxTURx2

Dependencies

“tslib”: “^1.7.1”

(dependencies on NPM and repository differ – checked for v 4.3.0)

NPM

https://www.npmjs.com/package/ngx-moment

npm i ngx-moment

Features

  • amTimeAgo pipe
  • amCalendar pipe
  • amDateFormat pipe
  • amParse pipe
  • amLocal pipe
  • amLocale pipe
  • amFromUnix pipe
  • amDuration pipe
  • amDifference pipe
  • amAdd and amSubtract pipes
  • amFromUtc pipe
  • amUtc pipe
  • amParseZone pipe
  • amIsBefore and amIsAfter pipe
  • NgxMomentOptions

You may also like...