AndrewPoyntz / time-ago-pipe

An Angular pipe for converting a date string into a time ago
MIT License
130 stars 67 forks source link

not exported member #17

Closed himanshu-khurana closed 6 years ago

himanshu-khurana commented 6 years ago

Hi, I have implement this pipe but showing this error. node_modules/time-ago-pipe/time-ago-pipe"' has no exported member 'TimeAgoPipeModule'. Is it work with angular5. How to resolve..?

AndrewPoyntz commented 6 years ago

The packaging still isn't quite right, i'll get it sorted soon & push out a 1.3.1, for now it'll work like this:

import {TimeAgoPipe} from 'time-ago-pipe';

@NgModule({ declarations: [ TimeAgoPipe ] ... etc... })

{{yourDateString | timeAgo}}

himanshu-khurana commented 6 years ago

Hey,

Thanks! Andrew

On Tue, Feb 27, 2018 at 4:36 AM, Andrew Poyntz notifications@github.com wrote:

Closed #17 https://github.com/AndrewPoyntz/time-ago-pipe/issues/17 via 3ae7ebe https://github.com/AndrewPoyntz/time-ago-pipe/commit/3ae7ebe9c9c8780e8fa8ca5de3736604357392ce .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AndrewPoyntz/time-ago-pipe/issues/17#event-1493201252, or mute the thread https://github.com/notifications/unsubscribe-auth/AO5u-S7Ps37dIa1Duzcu9WO3ZMeLgxnbks5tYzjlgaJpZM4SSyJW .

-- Thanks & Regards

[image: Oodles Technologies Pvt Ltd] http://www.oodlestechnologies.com/

Himanshu Khurana Frontend Developer, Oodles Technologies Pvt Ltd Phone: +91 124 4368 395 Mobile: +91 9899442240 Email: himanshu.khurana@oodlestechnologies.com maneesh@oodlestechnologies.com Website: http://www.oodlestechnologies.com/ Skype: himanshukhurana.oodles

[image: Twitter] https://twitter.com/oodlestech [image: Facebook] https://www.facebook.com/OodlesTech [image: Google +] https://plus.google.com/+Oodlestechnologies/posts [image: LinkedIn] https://www.linkedin.com/company/oodles-technologies-pvt-ltd