Firestore timestamp field is shifting one day back on calling toDate()

后端 未结 0 804
无人及你
无人及你 2021-01-23 05:38

end attribute is timestamp in firestore db. Using toDate()

 const today: Date = new Date();
 today.setHours(0, 0, 0, 0);
 const end: Date = d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题