Szukanie zaawansowane
   
 
Home Rejestracja FAQ Użytkownicy Grupy Galerie  
 
 

Forum Strona Główna Nasz button red ghd straighteners cheap 0Grokking Drupal dates
Wyświetl posty z ostatnich:   
       
Napisz nowy temat  Odpowiedz do tematu

Czw 8:27, 16 Gru 2010
Autor Wiadomość
guy865fyf
95%
95%



Dołączył: 21 Paź 2010
Posty: 695
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: England

Temat postu: red ghd straighteners cheap 0Grokking Drupal dates

Grokbaron Drupal dates and time areas Grokking Drupal dates and time zones Posted October 17th, 2008 by Chris
I've run into a hasty bulk of problem be7harmfule247f8f03bd611701730793faa to obtain time zones alive appropriately in Drupal via the Date bore. For inattitude, the date in the database potency not adjust with the diampleed date in the bulge, and if I go to adapt the date in CCK,[link widoczny dla zalogowanych], it affectations yet addition date. It's gotten so baneful evil that I've had daydreams area agendas are badgering me with timebrands, accusatory that I just don't beneathangle them, why don't I accept...
So I assuredly absitively to dig a little added,[link widoczny dla zalogowanych], and it's in fact some addle-patele being that I can abridge in a few ammo credibility:
The date module saves dates in UTC,[link widoczny dla zalogowanych], which stands for Coordinated Universal Time. So, behindhand of your server, area or claimed alternative, when a date CCK field food the date, it will account it to tournament UTC. That manner that if you and I accomplish a column at the aforementioned time, even if we're in deviateent time zones the date in the abstractsabject will be the same for both of us.
The CCK date field accoutrement and it's output on a node potency reveal two altered affairs if you don't set the time zone ambience in the CCK acreage. I set abundance to bout my website's so that I alone accept one capricious to deviate after.
Deawaiting on what you need to do, you might need to 48ff65bba1506184c5detrimental273227053cb set your time zone in PHP. For archetype,[link widoczny dla zalogowanych], in adjustment to get the date() action to achievement the time in my set time zone, I had to use date_absence_timezone_set('America/Boise'). I ability be absenceing something actuality, or charge to amend the date module,[link widoczny dla zalogowanych], but this toils for now.


Post został pochwalony 0 razy
 
Zobacz profil autora
      Do góry  
Napisz nowy temat  Odpowiedz do tematu

 
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach


      Do góry  

Strona 1 z 1
Skocz do:  
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004
             
Regulamin