我有一个位于 EST 时区的 Kronos Workforce Central 8.1 服务器。为了确认时区配置正确,我向GetServerTime
服务器发送了一个请求。
<Kronos_WFC version="1.0">
<Request Object="ServerTime" Action="GetServerTime"/>
</Kronos_WFC>
令我惊讶的是,服务器响应列出了 GMT 的两个不同时区偏移量。
- 时间戳="5/09/2018 10:23AM GMT-04:00 "
- KronosTimeZone="( GMT -05:00 ) 东部时间"
<Kronos_WFC TimeStamp="5/09/2018 10:23AM GMT-04:00" version="1.0" WFCVersion="8.1.1.569">
<Response Status="Success" Action="GetServerTime" Object="ServerTime">
<ServerTime DateTime="5/09/2018 10:23AM" KronosTimeZone="(GMT -05:00) Eastern Time"/>
</Response>
</Kronos_WFC>
为什么 Workforce Central 会为TimeStamp
和返回不同的 GMT 偏移量KronosTimeZone
?