[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#552110: marked as done (tzdata: 2009o breaks DST in Bangladesh)



Your message dated Fri, 23 Oct 2009 16:36:37 +0000
with message-id <E1N1N81-0001G8-4k@ries.debian.org>
and subject line Bug#552110: fixed in tzdata 2009o-2
has caused the Debian Bug report #552110,
regarding tzdata: 2009o breaks DST in Bangladesh
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
552110: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552110
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Severity: important
Version: 2009o-1
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch karmic

Hello,

In https://launchpad.net/bugs/456322 it was reported that 2009o breaks
DST in Bangladesh:

$ zdump -v -c 2007,2015 Asia/Dhaka
Asia/Dhaka Fri Jun 19 16:59:59 2009 UTC = Fri Jun 19 22:59:59 2009 BDT isdst=0 gmtoff=21600
Asia/Dhaka Fri Jun 19 17:00:00 2009 UTC = Fri Jun 19 23:00:00 2009 BDST isdst=0 gmtoff=21600

So DST is not considered at all, and clocks are off by an hour:

$ LANG= date -u; LANG= TZ=Asia/Dhaka date
Fri Oct 23 12:30:57 UTC 2009
Fri Oct 23 18:30:57 BDST 2009

This is due to our glibc not understanding open end dates on DST
rules. This already happened when Bangladesh DST was introduced the
first time (https://launchpad.net/bugs/383444) and back then it was
discussed with upstream, who proposed to patch it to set an arbitrary
end date.

I did that for Ubuntu now by setting an arbitrary end date to Jan 1 2100
so that it works now:

$ zdump -v -c 2007,2101 Asia/Dhaka
Asia/Dhaka  Fri Jun 19 16:59:59 2009 UTC = Fri Jun 19 22:59:59 2009 BDT isdst=0 gmtoff=21600
Asia/Dhaka  Fri Jun 19 17:00:00 2009 UTC = Sat Jun 20 00:00:00 2009 BDST isdst=1 gmtoff=25200
Asia/Dhaka  Thu Dec 31 16:59:59 2099 UTC = Thu Dec 31 23:59:59 2099 BDST isdst=1 gmtoff=25200
Asia/Dhaka  Thu Dec 31 17:00:00 2099 UTC = Thu Dec 31 23:00:00 2099 BDT isdst=0 gmtoff=21600

$ LANG= date -u; LANG= TZ=Asia/Dhaka date
Fri Oct 23 12:32:53 UTC 2009
Fri Oct 23 19:32:53 BDST 2009

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -u tzdata-2009o/debian/changelog tzdata-2009o/debian/changelog
--- tzdata-2009o/debian/changelog
+++ tzdata-2009o/debian/changelog
@@ -1,3 +1,11 @@
+tzdata (2009o-1ubuntu1) karmic; urgency=low
+
+  * Add bdst-workaround.diff: Work around glibc not being able to cope with
+    open end dates by specifying an arbitrary one far in the future. This
+    fixes time Bangladesh, which has eternal DST now. (LP: #456322)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 23 Oct 2009 14:00:01 +0200
+
 tzdata (2009o-1) unstable; urgency=low
 
   * New upstream release.
diff -u tzdata-2009o/debian/patches/series tzdata-2009o/debian/patches/series
--- tzdata-2009o/debian/patches/series
+++ tzdata-2009o/debian/patches/series
@@ -2,2 +2,3 @@
 java.diff -p1
+bdst-workaround.diff
 argentinas-dst-2009.diff -p1
only in patch2:
unchanged:
--- tzdata-2009o.orig/debian/patches/bdst-workaround.diff
+++ tzdata-2009o/debian/patches/bdst-workaround.diff
@@ -0,0 +1,16 @@
+# Description: Work around glibc not being able to cope with open end dates by specifying an arbitrary one far in the future.
+# Ubuntu: https://launchpad.net/bugs/456322, https://launchpad.net/bugs/383444
+Index: tzdata-2009o/asia
+===================================================================
+--- tzdata-2009o.orig/asia	2009-10-14 22:49:38.000000000 +0200
++++ tzdata-2009o/asia	2009-10-23 14:12:07.000000000 +0200
+@@ -205,7 +205,8 @@
+ 			6:30	-	BURT	1951 Sep 30
+ 			6:00	-	DACT	1971 Mar 26 # Dacca Time
+ 			6:00	-	BDT	2009 Jun 19 23:00 # Bangladesh Time
+-			6:00	1:00	BDST
++			6:00	1:00	BDST	2100 Jan 1 # arbitrary end date; unspecified end date does not work with glibc
++			6:00	-	BDT
+ 
+ # Bhutan
+ # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2009o-2

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive:

tzdata-java_2009o-2_all.deb
  to pool/main/t/tzdata/tzdata-java_2009o-2_all.deb
tzdata_2009o-2.diff.gz
  to pool/main/t/tzdata/tzdata_2009o-2.diff.gz
tzdata_2009o-2.dsc
  to pool/main/t/tzdata/tzdata_2009o-2.dsc
tzdata_2009o-2_all.deb
  to pool/main/t/tzdata/tzdata_2009o-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 552110@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Clint Adams <schizo@debian.org> (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 23 Oct 2009 10:36:14 -0400
Source: tzdata
Binary: tzdata tzdata-java
Architecture: source all
Version: 2009o-2
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Clint Adams <schizo@debian.org>
Description: 
 tzdata     - time zone and daylight-saving time data
 tzdata-java - time zone and daylight-saving time data for use by java runtimes
Closes: 552110
Changes: 
 tzdata (2009o-2) unstable; urgency=low
 .
   * debian/patches/bangladesh-openended.diff: Fix broken Asia/Dhaka
     DST.  closes: #552110.
Checksums-Sha1: 
 91b76401731eaa0c7053d044a83fa69aa29467f0 1776 tzdata_2009o-2.dsc
 29b24ebc5890c2473132e8ab3c890dff240338ee 229755 tzdata_2009o-2.diff.gz
 0d320a7d15031450f67c2d61ed656db55b7025c8 765800 tzdata_2009o-2_all.deb
 966d0425f9e8d66833c3abe290e265817bbc4d93 148272 tzdata-java_2009o-2_all.deb
Checksums-Sha256: 
 f7a9f1f7effb4a03de056224dafbcc2a3577d1acde37a3a1cc2c4e76274e003e 1776 tzdata_2009o-2.dsc
 9f95537821de8e0c9f1024347766279caa1f43621d81cd8db3f4ec2531c9539b 229755 tzdata_2009o-2.diff.gz
 156c133d4bee41ad9cf1c281666f0ae8981327aacbf0d0ae7dca462f7d1dd735 765800 tzdata_2009o-2_all.deb
 058a396fe98b7f050d277a2c875e884b985cc25213d1d49a0cc57c75e2912e26 148272 tzdata-java_2009o-2_all.deb
Files: 
 5aad0cd9861ae0dfa9b3cbb18559b000 1776 libs required tzdata_2009o-2.dsc
 fed7c4968ba6633db69b8f948920ba53 229755 libs required tzdata_2009o-2.diff.gz
 40338cf93f2e9cbd2f6e69684db962a1 765800 libs required tzdata_2009o-2_all.deb
 8ecd064686eb4338e8962cbc999dea72 148272 java optional tzdata-java_2009o-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Debian!

iQIcBAEBCgAGBQJK4cL8AAoJEFWSMx4ZnTiodhAQAIx7J8udzZloO69bswFePB0F
2owkSiKUS4NgxI9c79UntmNRbWL4qUH6CNpltWcTbd41SGZrtayh3O8m7hkMeK6P
jlVc9Q1KYASiD4Y+DYDFSO5j5v/9D6P6CiOvI7e6WLqebDoNuTkY/Sb20WXoGW93
7aJXdgsbDQFA4RBZKV/ogRU5QvXvyEEhnJjgzf/Qkh3N1g8s/2AU3G296tfltTw+
MNaLzg5bk/u4/waOxRukdTNsPHaiR75LD7xFD4mqUDEL4PuaGFtW1qV2b/x0YDMe
Qu7P9dcDoS577bn1iF5ImX7V9TG5L9C9hMh9jOr96OvxYi74YFGkm1cEpDNXYZbp
H4tvWockNxQ/t0Fdo/6LC2oN5aYs9L4Kxj033tmt08u+HU0KlXhFlLVd8CTcFW/J
YrMT0u2Qg7kS1BSTpSGRknMUiTwO0VoBTGoDiXaOi99S2vdEsuqUUw+pjTnxcIdH
boPyYhFUgQPTDoED7YLRJG3yZfS/k3wPTbIHBWl9ncz6TO1hbxARkojd9GFNZjyq
6etxv7vO8YG1Tdjce3KJdIh+FuRi58GTu09xCszyZBdD0lIAv9ftE6qF8cCZO2mX
d2QcaFrUjU1VeOIcGlV8ZlRbBD3x9X+UiPeTIi+jMW94cE4c9UKOCMtep8ABIHNB
wZbGhyy7NKpbAaPQ0xqS
=w3T7
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: