angular / angular/angularfire

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

Offen
#3,280 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
7.8k
Forks
2.2k
Ø Merge
22 Std. 28 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No implementation files or tests are named. Start by locating AngularFire's public pipe exports and existing timestamp-related handling, then verify how Angular templates currently format Firebase document timestamps. Done means an exported Angular pipe formats those timestamps without requiring .toDate() in a template or service, with coverage for the intended behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, firebase, typescript
Bereich
frontend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.