Linux- Windows Timezone Mapping?

后端 未结 3 460
失恋的感觉
失恋的感觉 2020-12-28 20:13

All the Timezone in Windows are displayed in such a way like

(GMT+10:00) Canberra, Melbourne, Sydney,

GMT and Offset and the place. In turn ,

3条回答
  •  萌比男神i
    2020-12-28 20:37

    If all the files have the signs reversed, then the files you are looking at are forward mapping offsets, while what you are probably more familiar with is reverse mapping offsets.

    Windows typically uses the local timezone for the machine's internal time, so it needs timezone files which can translate back to UTC. Linux typically uses UTC as the machine's internal time, so it needs timezone files which can translate to local time.

    Since the offsets for the two machines describe complimentary but opposite directions of time, it stands to reason that the time zone files are inversely related to each other. In other words, if you pick up a set of zone files from one, the other set will be negative.

提交回复
热议问题