[TYPO3] List Module Date/time Field Strangeness

Lucas Thurston lucas at castironcoding.com
Thu Apr 13 21:40:55 CEST 2006

Turns out I knew the answer all along, for some reason I got hung up on 
it though.  The list view is rendered by the server, and the timestamp 
is converted to a date/time field relative to its timezone.  The form 
input value, however, is rendered as a date/time field by client-side 
javascript, and thus relative to my timezone.  How embarrassing...


Lucas Thurston wrote:
> Hi,
> I'm hoping someone might be able to explain to me why the List module 
> would display a date/time field with different hour values in two 
> different places.  When I view the a record with this field (set to eval 
> to datetime in the TCA) and have the table isolated (by clicking on the 
>  record list header), I see it as (for example):
> 19-09-05 08:30
> However, when I edit that field on the same record, and it appears in a 
>  input field I see this:
> 5:30 19-9-2005
> What is this magic, wonderful, perplexing math that is occurring behind 
> the scenes?  Is there a way to make the time appear the same in both 
> places?  Is it a coincidence that I am three time zones to the west of 
> the server?
> Thanks,
> Lucas

More information about the TYPO3-english mailing list