Most people will be surprised to know how convoluted the time zone boundaries actually are! These are the world’s time zones:

It’s like that in order to address the wishes of islands, states, principalities or countries that have a traditional time zone border running through a part of them. There are various logistical reasons these places may find it advantageous to be included in the adjoining time zone. Or they don’t want just a portion of their principality to be in an adjoining zone. For instance, Greenland wanted to be in one single zone instead of four. Considering how few people live in Greenland, and how far apart they live, this is a good idea. Several countries prefer just one zone. Convenience and practicality.
There are many places you can walk north or south and enter a new time zone. Several countries offset their local time in increments other than a full hour. As an example, India is 5 and 1/2 hours ahead of GMT time (+5.5). There are several areas in the world where you will gain or lose 90 minutes when you cross a time zone. Nepal is five hours and forty-five minutes ahead of GMT time, (+ 5.75)! Is that weird, or what?! Those zany Nepalese. Logically and geographically, they should be the same time zone as India. But… the rules allow it, and they insist on being a rebel, so that’s how it is; even though Nepal is the only one to take advantage of the 15 minute (7.5 degrees) rule.
So whatever international commission set the lines, it just bends the time zone lines in one direction or another in those particular areas, then bends them back to their traditional position along a longitudinal line as soon as possible, south of the area in question. We don’t want any Times Wars over a thing like this.
If you look at above map, you may notice that China is one time zone. I think this is done for political reasons: the Chinese government wants to maintain a very centralized power structure with Beijing at the center. As a result, in western China, the solar noon occurs 4 hours after the solar noon in eastern China. This means that if 1 man in Changchun and 1 man in Kashgar both set their alarm for 8 a.m, the man in Changchun will wake up to the sun high in the sky, while the man in Kashgar will wake up in darkness. Another bizarre consequence of this situation is that passing over the border from Tajikistan to China means you have to switch your watch ahead by 3 hours. (Note: India is also entirely one time zone, likely for similar reasons although India does not span quite as many degrees of longitude so it is slightly less noticeable).