我认为 checkins createdAt 数据带有时间值(从 1970 年开始计算),没有毫秒和 timeZoneOffset,我在两个地方签入,相差 1 秒。
{
"id":"4fc88864e4b04ec64af27a3c",
"createdAt":1338542180,
"type":"checkin",
"shout":"He he",
"timeZone":"America\/New_York",
"timeZoneOffset":-240,
"venue":{
"id":"4eb1386282317685624c2e18",
"name":"11220 Brooklyn, NY",
"contact":{},
"location":{
"lat":40.65082835341778,
"lng":-74.00814735447314,
"country":"United States"
}
}
}
{
"id":"4fc88863e4b005dcbe793e44",
"createdAt":1338542179,
"type":"checkin",
"shout":"Original place",
"timeZone":"Asia\/Kolkata",
"timeZoneOffset":330,
"venue":{
"id":"4f45d635e4b035f2e5635241",
"name":"Prernathirth Derasar",
"contact":{},
"location":{
"lat":23.020828247070312,
"lng":72.52046966552734,
"country":"India"
}
}
}
在这里,我在 1 秒的时间跨度内在两个不同的地方签到,您可以看到 timeZoneOffset 用于区分时区。