-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
I just made an update after which I started to get error with all the "date" objects retrived from firestore, ex:
I have this class:
class Shift{ statDate?:Date; endDate?:Date; employeeId?:string; }
so that later I can just use it in my html like so
{{shift.startDate|date:"yyyy MMM dd":"":""}}
but now the value of startDate is now retrived as a timestemp
made a fix this.firestore.firestore.settings({ timestampsInSnapshots: false });
but now I'm getting message
@firebase/firestore: Firestore (4.13.0):
The behavior for Date objects stored in Firestore is going to change
AND YOUR APP MAY BREAK
do I realy need to change logic everywhere in my application, I have object with "Date"s all over the place:S...?
semla, Bielik20, mombasaGalaktika and Pingear
Metadata
Metadata
Assignees
Labels
No labels