我所处的当地时区为+2,服务器使用标准(伦敦)时区。
Date 函数 用函数 new Date('2022-09-12') 创建的是标准时间(UTC)的12日0点0分。
new Date('2022-09-12')
toISOString()
toLocaleString()
文档