{"id":29213,"date":"2006-10-27T07:00:00","date_gmt":"2006-10-27T14:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2006\/10\/27\/the-great-polish-sea-or-we-forgot-poland\/"},"modified":"2006-10-27T07:00:00","modified_gmt":"2006-10-27T14:00:00","slug":"the-great-polish-sea-or-we-forgot-poland","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20061027-00\/?p=29213","title":{"rendered":"The great Polish Sea -or- We forgot Poland!"},"content":{"rendered":"<p>\nOpen up the Date and Time control panel and go to the Time Zones tab.\nNotice anything wrong with the world map?\nTake a close look at northern Europe.\n<\/p>\n<p>\nDepending on what version of Windows you have, you might\nsee a body of water where Poland should be.\n<a HREF=\"http:\/\/www.microsoft.com\/library\/media\/1033\/technet\/images\/archive\/win95\/rk03_23_big.gif\">\nWindows&nbsp;95 didn&#8217;t have this problem<\/a>,\nbut\n<a HREF=\"http:\/\/web.archive.org\/web\/20070719151527\/https:\/\/sa.ku.edu\/pshelp\/errors\/windows2000timezone.gif\">\nWindows&nbsp;2000 did<\/a>.\nAnd\n<a HREF=\"http:\/\/web.archive.org\/web\/20070719151425\/https:\/\/sa.ku.edu\/pshelp\/errors\/windowsxptimezone.gif\">\nwhether your copy of Windows&nbsp;XP has this problem<\/a>\ndepends\non precisely what version you have.\n<\/p>\n<p>\nWhere did the great Polish Sea come from?\n<\/p>\n<p>\nThis weekend marks the end of Summer Time in Europe,\nand the answer has to do with time zones.\n<\/p>\n<p>\nRecall that the Windows&nbsp;95 control panel highlighted your current\ntime zone on the map.\nTo accomplish this,\neach time zone was assigned a different label in the time zone bitmap.\nTo draw the map, the portions of the world whose label was the same as\nthe selected time zone were drawn in bright green, and the parts that\nwere different were drawn in dark green.\nSo far so good.\n<\/p>\n<p>\nWhen the\n<a HREF=\"http:\/\/blogs.msdn.com\/oldnewthing\/archive\/2003\/08\/22\/54679.aspx\">\nhighlighting on the time zone map had to be disabled<\/a>,\nall that happened was that the &#8220;color for the selected time zone&#8221;\nwas set to dark green.\nThe code still went through the motions of drawing the time zone\nin a &#8220;different&#8221; color, but since the colors were the same at the end of\nthe day, the visual effect was that the highlighting was removed.\n<\/p>\n<p>\nTo determine which parts of the world are land and which parts\nare sea, the time zone map enumerated all the time zones as well\nas the labels associated with each time zone.\n(You can see them in the registry under &#8220;MapID&#8221;.)\nIn this way, the land masses of the\nworld gradually emerged from the ocean as\nthe time zones claimed each spot of land one by one.\n<\/p>\n<p>\nThe shell team did make one fatal mistake, however,\nobvious in retrospect:\nIt assumed that the world&#8217;s time zones would never change.\nBut what happens when a country changes its time zone,\nas Poland did?\nAt the time Windows&nbsp;95 was released, Poland was on its own\ncustom time zone, which Windows&nbsp;95 called\n&#8220;Warsaw Standard Time\/Warsaw Daylight Time&#8221;,\nbut it didn&#8217;t stay that way for long.\nJust within Windows&nbsp;95 and Windows&nbsp;98,\nPoland&#8217;s time zone went by the following names:\n<\/p>\n<ul>\n<li>Windows&nbsp;95: (GMT+01:00) Warsaw\n<li>Windows&nbsp;95: (GMT+01:00) Lisbon, Warsaw\n<li>Windows&nbsp;98: (GMT+01:00) Bratislava, Budapest, Ljubljana, Prague, Warsaw\n<li>Windows&nbsp;98: (GMT+01:00) Sarajevo, Skopje, Sofija, Warsaw, Zagreb\n<\/ul>\n<p>\nAnd that&#8217;s not counting the changes that were made in\nWindows&nbsp;NT, Windows&nbsp;2000 or\nWindows&nbsp;XP or their service packs.\nIt&#8217;s not that Poland&#8217;s time zone actually changed that many times.\nRather, the way it was grouped with its neighbors changed.\nI don&#8217;t know why all these changes were made,\nbut I suspect political issues played a major role.\n<\/p>\n<p>\nAs a result of all this realignment,\nthe &#8220;Warsaw Standard Time&#8221; time zone\ndisappeared, and with it, its associated land mass.\nConsequently, the land corresponding to Poland remained underwater.\nAnd for some reason, nobody brought this problem to the attention\nof the shell team until a couple years ago.\n<\/p>\n<p>\nIn order to fix this, a new world bitmap needed to be made\nwith new labels (labeling the pixels corresponding to Poland as\n&#8220;Central European Time&#8221;) so that Poland would once again emerge\nfrom the sea.\nEven though the highlighting is gone, the map code still needs to\nknow where every time zone is so it can raise them from the ocean floor.\n<\/p>\n<p>\nFortunately, all this will soon fall into the mists of history,\nbecause Windows Vista has a completely rewritten time zone\ncontrol panel, so the mistakes of the past can finally be shed.\nLet&#8217;s hope the people who wrote the new time zone control panel\nremembered Poland.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oopsie.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2,108],"class_list":["post-29213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-history","tag-time"],"acf":[],"blog_post_summary":"<p>Oopsie.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/29213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=29213"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/29213\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=29213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=29213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=29213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}