angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.66k stars 2.19k forks source link

Feature: Create a pipe in Angular Fire that extends the Angular Date for formatting firebase doc timestamps #3280

Open AhsanAyaz opened 1 year ago

AhsanAyaz commented 1 year ago

Version info

Angular: 14.2.6

Firebase: 11.2.0

AngularFire: latest

Other (e.g. Ionic/Cordova, Node, browser, operating system):

Expected behavior

Today at the firebase summit, @davideast had a really nice presentation with Angular and Firebase. We discussed that it would be awesome to have an Angular pipe in AngularFire that could extend the Angular Pipe so we don't have to use the .toDate() method in an Angular service (because of formatting), or use .toDate() directly in the template (would trigger on every rerender). So a Pipe would be awesome.

Actual behavior

No AngularFire Pipe exists to format Firebase Document timestamps.

google-oss-bot commented 1 year ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.