Opa

Pra quem nao se ligou ainda , o Horario de Verao ou Daylight Saving Time(DST), 
esta chegando.
Conforme decreto 4.844 de 24 de Setembro de 2003

http://pcdsh01.on.br/HvInic03.htm

Segue as rules pra criar a zoneinfo considerando o TimeZone East 

--------xxx

Rule Brazil 2003 max - Oct Sun>=19 00:00 1 D
Rule Brazil 2004 max - Feb Sat>=14 00:00 0 S
Zone Brazil/horario-verao-2003-2004 -3:00 Brazil BRST

--------xxx

observe que ao compilar ( zic ), o arquivo horario-verao-2003-2004 sera criado
em /usr/share/zoneinfo/Brazil/

devemos fazer entao um link para a zoneinfo criada

ln -sf /usr/share/zoneinfo/Brazil/horario-verao-2003-2004 /etc/localtime

ou quem prefere, usar a variavel de ambiente TZ


TZ=Brazil/horario-verao-2003-2004

  
---
[EMAIL PROTECTED]:~# ls -l /etc/localtime 
lrwxrwxrwx    1 root     root           50 Out  4 15:18 /etc/localtime ->
/usr/share/zoneinfo/Brazil/horario-verao-2003-2004

[EMAIL PROTECTED]:~# date
S�b Out  4 15:28:34 BRST 2003

[EMAIL PROTECTED]:~# date 101823592003.55 ; sleep 6 ; date
S�b Out 18 23:59:55 BRST 2003
Dom Out 19 01:00:01 BRST 2003
[EMAIL PROTECTED]:~# date
Dom Out 19 01:00:02 BRST 2003

[EMAIL PROTECTED]:~# date 021323592004.55 ; sleep 6 ; date
Sex Fev 13 23:59:55 BRST 2004
Sex Fev 13 23:00:01 BRST 2004
[EMAIL PROTECTED]:~# date
Sex Fev 13 23:00:02 BRST 2004


era isto.

[]'s
R-ealtiY
_______________________________________________
slack-users mailing list
[EMAIL PROTECTED]
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a