Feature: Create a pipe in Angular Fire that extends the Angular Date for formatting firebase doc timestamps
- 主要語言
- TypeScript
- 星號
- 7.8k
- 分支
- 2.2k
- 平均合併
- 22 小時 28 分鐘
- 30 天內合併 PR
- 6
描述
### 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.
貢獻指南
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, firebase, typescript
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100