← Back to team overview

touch-packages team mailing list archive

[Bug 1448565] Re: Wrong time zone

 

This isn't a bug, the arcane and confusing POSIX GMT+offset timezones
are indeed the inverse of what you'd expect them to be.

adconrad@nosferatu:~$ TZ=GMT+4 date --rfc-822 -d "12:00 Jan 01 2015"
Thu, 01 Jan 2015 12:00:00 -0400
adconrad@nosferatu:~$ TZ=GMT-4 date --rfc-822 -d "12:00 Jan 01 2015"
Thu, 01 Jan 2015 12:00:00 +0400


** Changed in: tzdata (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1448565

Title:
  Wrong time zone

Status in tzdata package in Ubuntu:
  Invalid

Bug description:
  Hello.
  I try to add a new time zone description of my current location.
  So I added to my zone.tab:

  AQ -6212-05858 Antarctica/Bellingshausen Bellingshausen Station,
  Vaterloo Island, GMT-4

  (Yes, I know, all the other stations at the island use GMT-3, but
  Russians use GMT-4, don't ask me why.)

  Then I created a soft link to GMT-4:

  $> sudo ln -sf /usr/share/zoneinfo/Etc/GMT-4
  /usr/share/zoneinfo/Antarctica/Bellingshausen

  So tzselect script says:

  The following information has been given:

          Antarctica
          Bellingshausen Station, Vaterloo Island, GMT-4

  Therefore TZ='Antarctica/Bellingshausen' will be used.
  Local time is now: Sun Apr 26 02:56:59 GMT-4 2015.
  Universal Time is now: Sat Apr 25 22:56:59 UTC 2015.

  But it is wrong timezone. It should be MSK-7, that is GMT-4.
  And when I link Bellingshausen TZ to GMT+4:

  $> sudo ln -sf /usr/share/zoneinfo/Etc/GMT+4
  /usr/share/zoneinfo/Antarctica/Bellingshausen

  the timezone becomes correct:

  Therefore TZ='Antarctica/Bellingshausen' will be used.
  Local time is now: Sat Apr 25 19:23:33 GMT+4 2015.
  Universal Time is now: Sat Apr 25 23:23:33 UTC 2015.

  I tried tzdata_2015c-0ubuntu0.14.04_all.deb and tzdata_2015c-
  0ubuntu0.14.10_all.deb.

  Is it a bug or I do smth wrong?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1448565/+subscriptions


References