Results 1 to 4 of 4

Thread: Bangladesh daylight savings patch

  1. #1
    behruz NNTP User

    Default Bangladesh daylight savings patch

    Hi guys

    I am responsible for maintanance of some servers in bangladesh. Bangladesh decided to adjust their gmt for dayligth savings starting with tonight (23.00 19 June) They will use gmt +7 instead of usual gmt +6.

    is there any patch that will adjust server time automatically?
    if not, what do you advice me to do?

  2. #2
    Camalen NNTP User

    Default Re: Bangladesh daylight savings patch

    behruz wrote:

    > I am responsible for maintanance of some servers in bangladesh.
    > Bangladesh decided to adjust their gmt for dayligth savings starting
    > with tonight (23.00 19 June) They will use gmt +7 instead of usual gmt
    > +6.
    >
    > is there any patch that will adjust server time automatically?
    > if not, what do you advice me to do?


    IIRC, this can be reported in Novell's bugzilla so developers can delivery a
    patch though standard updates, when available.

    BTW, this depends on upstream (tzdata).

    Look, another distributions already opened a bug for this:

    https://bugzilla.redhat.com/show_bug.cgi?id=503832
    https://bugs.launchpad.net/ubuntu/+bug/383444

    Greetings,

    --
    Camalen

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Bangladesh daylight savings patch

    Quote Originally Posted by behruz View Post
    Bangladesh decided to adjust their gmt for dayligth savings
    Hmm, interesting. Normally such changes are announced well ahead of time, but looking at the news, it seems this was a desperate measure in response to shortage of generating capacity.

    What you could do for the meantime is change the timezone from Bangladesh to a numeric one, GMT+7, until a proper patch to the tzdata is developed and sent out. It is possible to patch tzdata files yourself, but by the time you have figured out how, there would probably be a patch from upstream. Do not adjust the computer clock. If the computer clock is set to UTC, then the hardware clock is always correct. The timezone setting only affects how the time is displayed to humans.

    BTW, since GMT stands for Greenwich Mean Time, you would not say "Bangladesh's GMT". In any case as a term, GMT is deprecated in favour of UTC.

  4. #4
    behruz NNTP User

    Default Re: Bangladesh daylight savings patch

    thanks for replies, i partialy solved my problem

    @Camalen: i opened a bug report in novell bugzilla with this link: https://bugzilla.novell.com/show_bug.cgi?id=515106
    i hope they will create a patch soon

    @ken_yap: i tried to patch tzdata files myself. i had success in changing time but i am not sure if it permanent or temporary. here is what i did :

    1- ) downloaded tzdata2009j.tar.gz
    2- ) compiled asia file with "zic -d zone asia" command
    3- ) copied zone/Asia/Dhaka file to /etc/localtime
    4- ) when i checked time with 'date' command, nothing changed. so i edited 'asia' file myself
    5- ) changed bangladesh part in asia as following:
    Zone Asia/Dhaka 6:01:40 - LMT 1890
    5:53:20 - HMT 1941 Oct
    6:30 - BURT 1942 May 15
    5:30 - IST 1942 Sep
    6:30 - BURT 1951 Sep 30
    6:00 - DACT 1971 Mar 26
    6:00 - BDT 2009 Jun 19 23:00 # Bangladesh Time
    # 6:00 1:00 BDST ## original entry
    7:00 - BDST ## i added this part to change utc to gmt+7

    6-) when i executed 'date' command, it showed the correct date

    i think i will have to add another line for returning utc back to gmt+6 but i dont know when dst will finish and i am pretty sure, a patch will be published before dst finishes


    btw i couldnt find neither tzdata package nor upstream package (actually i found kdebase3-SuSE-branding-upstream but it seems irrelevant) in my system however i found timezone package. will i need to update timezone package if a patch is created

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •