[TYPO3-core] RFC #12358: BE-user last-login field uses "date" instead of "datetime"
Steffen Kamper
info at sk-typo3.de
Tue Oct 27 10:04:59 CET 2009
Hi,
Martin Kutschker schrieb:
> Steffen Gebert schrieb:
>> Hi,
>>
>> This is SVN patch request.
>>
>> Type: Bugfix / no-brainer / follow-up to #6131
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=12358
>>
>> Branches: trunk
>>
>> Problem:
>> #6131 added a field with the Last login date of a BE-user as read-only
>> field to TCEforms.
>> Unfortunately, only "date" instead of "datetime" is set as eval-type.
>> We have more detailed information (time!) - why don't we show that?
>>
>> Solution:
>> Set eval to datetime
>
> +1 on reading
>
+1 from my side too
>> Note:
>> This is the same as for Start/Stop dates in access register.. there's no
>> reason, to use only date.. don't know, why some devs nevertheless choose
>> date.
>
> Using start/stop times (and not dates) requires a check on every page hit. Currently TYPO3 delivers
> the page from cache without that check (only access restrictions are checked). That's the reason for
> clear-cache-at-midnight config.
>
you can set cache interval for page shorter than one hour so date/time
would make sense. It's read only when not coming from cache, and so it
only works if cache headers are properly set.
vg Steffen
More information about the TYPO3-team-core
mailing list