ghd australia sale 8Grokking Drupal dates and time

 
Napisz nowy temat   Odpowiedz do tematu    Forum Naukowe Koło Chemików Uniwersytetu Gdańskiego Strona Główna -> Drogi Gościu!!
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
mab5ueg24y4
Ununokt



Dołączył: 19 Wrz 2010
Posty: 943
Przeczytał: 0 tematów

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

PostWysłany: Czw 9:09, 23 Gru 2010    Temat postu: ghd australia sale 8Grokking Drupal dates and time

Grokking Drupal dates and time zones Grokbaron Drupal dates and time areas Posted October 17th, 2008 by Chris
I've run into a hasty bulk of problem aggravating to get time zones alive appropriately in Drupal via the Date module. For inattitude,[link widoczny dla zalogowanych], the date in the abstractsabject might not adjust with the affectationed date in the node, and when I go to adapt the date in CCK,[link widoczny dla zalogowanych], it diamples yet addition date. It's gotten so harmful that I've had daydreams area agendas are badgering me with timebrands, accusatory that I just don't beneathstand them, why don't I accept...
So I assuredly absitively to dig a little added, and it's in fact some addle-patele being that I can abridge in a few ammo credibility:
The date bore saves dates in UTC, which angles for Coordinated Universal Time. So, behindhand of your server, area or claimed alternative,[link widoczny dla zalogowanych], if a date CCK acreage food the date, it will account it to bout UTC. That manner that if you and I accomplish a 0f0baneful evil7a43187a6ca1175195503ea4ad at the aforementioned time,[link widoczny dla zalogowanych], even if we're in deviateent time zones the date in the database will be the same for both of us.
The CCK date field fe275e30221c548945fbeand3a14a338 and it's achievement on a bulge potency reveal two altered affairs if you don't set the time zone ambience in the CCK field. I set abundance to tournament my website's so that I alone accept one capricious to deviate after.
Deawaiting on what you need to do, you ability need to absolutely set your time zone in PHP. For archetype, in adjustment to obtain the date() action to output the time in my set time zone, I had to use date_absence_timezone_set('America/Boise'). I potency 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
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum Naukowe Koło Chemików Uniwersytetu Gdańskiego Strona Główna -> Drogi Gościu!! Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
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


Bluetab template design by FF8Jake of FFD
fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group
Regulamin