[TYPO3-core] RFC: Bug 4666: Date formatting should use Typo3 default settings and be configurable
Michael Stucki
michael at typo3.org
Mon Jan 22 20:11:06 CET 2007
This is a SVN patch request.
Problem:
Search results contain information about create and modify timestamp. Format
is currently hardcoded. Format pattern should be configurable via TS (e.g.
modify with or without H:i) and respect users language settings (e.g. german
format is d.m.Y, english format can be m.d.Y).
Minimum requirement is that date format follows Typo3 default settings
from /typo3conf/localconf.php:
$TYPO3_CONF_VARS['SYS']['ddmmyy'] = <format pattern>
Solution:
While fixing this I did not only change the indexed_search example but also
every other place where I found date and time formattings.
Additionally, I have added a new config var to define the formatting when
seconds are part of the output. See change in config_default.php.
Bugtracker reference:
http://bugs.typo3.org/view.php?id=4666
Branches:
Trunk only
- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_4666_v2.diff
Type: text/x-diff
Size: 10438 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070122/1d0c9698/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070122/1d0c9698/attachment.pgp
More information about the TYPO3-team-core
mailing list