#1118 MSYS does not recognize windows timezone on german windows

MSYS
closed
nobody
None
none
No_User_Response
2013-01-21
2008-01-17
Qter
No

Greetings,

I am running the latest snapshots of msys quite successfully on a German windows.

- bash-3.1-MSYS-1.0.11-1.tar.bz2
- coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2
- MSYS-1.0.11-20071204.tar.bz2
- msysCORE-1.0.11-2007.01.19-1.tar.bz2

However whenever I use ls -l or date, then
MSYS outputs the UTC time and not the time
of the timezone to which windows is set.
(in my case I am in timezone
"GMT +1:00 Amsterdam, Berlin, ...")

It would be great if msys would recognize the
actual timezone even with a German localization
of windows.

Btw: Also with the current release version of msys
the same problem exists.

thanks in advance

Wolfgang

Discussion

  • Qter

    Qter - 2008-02-11

    Logged In: YES
    user_id=1301242
    Originator: YES

    This is the diff that will escape the blanks in the directory names:

    53c53
    < echo "$WHICH" | sed 's/ /\\ /g'
    ---
    > echo "$WHICH"

     
  • Earnie Boyd

    Earnie Boyd - 2008-02-11

    Logged In: YES
    user_id=15438
    Originator: NO

    For timezone try adding a TZ environment variable.

    For which, check out the most recent version from CVS. It is best to not mix issues.

     
  • Earnie Boyd

    Earnie Boyd - 2008-02-11
    • milestone: --> Waiting_User_Response
    • status: open --> pending
     
  • Qter

    Qter - 2008-02-11
    • status: pending --> open
     
  • Qter

    Qter - 2008-02-11

    Logged In: YES
    user_id=1301242
    Originator: YES

    sorry for the diff post, I clicked the wrong task

     
  • Qter

    Qter - 2008-02-11

    Logged In: YES
    user_id=1301242
    Originator: YES

    unfortunately there is no way for automating the correct setting of the TimeZone
    via a shell script as the correct TimeZone names which are used by the shell are
    not known/returned by windows.

    since we would like to deploy msys on an international scale this really is an issue!

    N.B.: on windows the TimeZone information is stored in the registry key
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
    The SubKey ActiveTimeBias contains the offset in minutes to GMT

    When setting the timezone to GMT-ActiveTimeBias/60, then the time itslef is correct,
    but the displayed timezone is wrong!

     
  • Earnie Boyd

    Earnie Boyd - 2008-02-11
    • status: open --> pending
     
  • Earnie Boyd

    Earnie Boyd - 2008-02-11

    Logged In: YES
    user_id=15438
    Originator: NO

    In ~/.profile add one of the following. I'm not sure which will work for you.

    export TZ=MET-1DST
    export TZ=Europe/Amsterdam

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 30 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-21
    • resolution: --> none
    • category: --> No_User_Response
    • milestone: Waiting_User_Response --> MSYS
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks