Ignore:
Timestamp:
01/21/12 00:18:54 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Limpeza, melhorias e correcoes na camada javascript do novo modulo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/timezones.php

    r5341 r5409  
    457457"UTC":"+0000" 
    458458}, 
    459 "isDaylightSaving":"<?php 
    460                 $time = time(); 
    461                 $hora = localtime($time, true); 
    462                 if($hora['tm_isdst']){ 
    463                         echo true; 
    464                 }else{ 
    465                         echo false; 
    466                 }  
    467 ?>" 
     459"isDaylightSaving":"<?php $localtime = localtime(time(), true); echo !!$localtime['tm_isdst']; ?>" 
    468460} 
Note: See TracChangeset for help on using the changeset viewer.