|
|
1
0
通过这种方式,您可以选择如何创建时间戳并将其保存在firestore中 你也可以按你想要的方式打印月份。
这是因为日期.getMonth()得到索引,这就是为什么我用+1得到一个月。 |
|
|
2
0
|