[TYPO3-project-seminars] Nicer date in the detail view

Thomas Meixner tmeixner at avecstyle.ca
Tue Nov 4 22:08:50 CET 2008


> Is it possible to show a more friendly date in the detail view like:
> 
> Saturday, 14.February 2008

Hi Tomas,

You can get the above format like this:

plugin.tx_seminars.dateFormatYMD = %A, %d.%B %Y

you can look up all possible variations here.
http://typo3.org/documentation/document-library/extension-manuals/cal/1.1.0/view/10/10/

For php to use the correct language you also have to make sure the 
locale_all is set correctly.
For the dates to be displayed in Canadian french for example I use on a 
linux server:

## Language settings [Begin]
config {
         linkVars = L
         sys_language_uid = 2
         language = fr
         locale_all = fr_CA.utf8
         sys_language_mode = content_fallback
         sys_language_overlay = 1
}
[globalVar = GP:L = 0]
config {
         sys_language_uid = 2
         language = fr
         locale_all = fr_CA.utf8
}
[end]
## Language settings [End]

Regards,
Thomas


More information about the TYPO3-project-seminars mailing list