[TYPO3-dev] process_datamap() & timestamp
Jan Kornblum
jan.kornblum at gmx.de
Fri Nov 25 11:14:14 CET 2011
Hi Ernesto,
> I am pretty sure, because I implemented it some years ago. It could have
> been changed again, but I am confident that noone dares to touch this
> very bizarre time-handling routines.
[...]
> Don't be mislead by what you see "in the browser".
>
> For every input field there is a "hidden" field which is what is later
> stored in the database. So the datetime picker field has a "XXX_hr"
> field (human readable) which is what you edit and where you input your
> date. And there is a related hidden "XXX" field, which is calculated
> from the _hr field using javascript. In this case, it will contain the
> UNIX timestamp (in UTC):
O.K., my mistake:
I've created the fields "manually" and not using the TCEforms
functions, so there are no "_hr"-inputs and so on. So in my case there
doesn't take place any converting on clientside.
Thanks for your detailed explanations at all! Yery kind...
Regards, Jan
More information about the TYPO3-dev
mailing list