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

Re: Automatische Zeitumstellung!?



Thilo Six wrote the following on 01.11.2010 19:18

> Martin Steigerwald wrote the following on 31.10.2010 11:23
> 
> Hallo Martin:
> 
> in deiner Mail schreibst du:
> 
> 
> ,---------------------------------------------
>> shambhala:~> dpkg-reconfigure tzdata
>> Current default time zone: 'Etc/UTC'
> `---------------------------------------------
>                               ^^^^^^^
> 
> besser wäre:
> 
> $ dpkg-reconfigure tzdata
> Current default time zone: 'Europe/Berlin'
>                              ^^^^^
> 
> Warum das bei dir kaputt ist kann ich dir nicht sagen.

# dpkg-reconfigure tzdata

Current default time zone: 'Etc/UTC'
Local time is now:      Mo 1. Nov 18:29:49 UTC 2010.
Universal Time is now:  Mon Nov  1 18:29:49 UTC 2010.

# date
Mo 1. Nov 18:29:52 UTC 2010
# date --utc
Mo 1. Nov 18:29:54 UTC 2010


# dpkg-reconfigure tzdata

Current default time zone: 'Europe/Berlin'
Local time is now:      Mo 1. Nov 19:31:47 CET 2010.
Universal Time is now:  Mon Nov  1 18:31:47 UTC 2010.

# date
Mo 1. Nov 19:31:52 CET 2010
# date --utc
Mo 1. Nov 18:31:55 UTC 2010

Ich denke man kann daraus schließen, dass man zwischen der Uhrzeit des
Systems und der angezeigten Uhrzeit unterscheiden muss (Umrechnung in die
richtige Zeitzone).

Wichtig dabei ist auch darauf zu achten, ob und auf was die Umgebungsvariable
'TZ' gesetzt ist.
siehe dazu: /usr/share/doc/tzdata/README.Debian


PS. 'Warum das bei dir kaputt ist kann ich dir nicht sagen.'
      `- Dieser Satz kommt per mail evtl. anders rüber als es gemeint war.
-- 
bye Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



Reply to: