[TYPO3-project-seminars] Strftime question + suggestion
Nico Deblauwe
nico at deblauwe.be
Wed Dec 26 22:08:59 CET 2007
Dear all,
-QUESTION-
I've just discovered the fantastic "dataFormat" functions, which I have now
configured as
dateFormatYMD = %a %d.%m.%Y
dateFormatMD = %a %d.%m
dateFormatD = %a %d
However, somehow PHP doesn't manage to detect the right (well, according to
the site settings) languague, which makes me end up with "Sa" instead of
"Za". The seminars extension itself switches correctly to Dutch (or Flemish,
as we like to call it in Belgium).
My question: is this a Seminars problem or a TYPO3 problem?. If it is the
first, could running the function "setlocale"
(http://www.php.net/manual/en/function.setlocale.php) somewhere before you
generate the output in the extension fix this bug?
-SUGGESTION-
Could you include a link to http://php.net/manual/en/function.strftime.php
in your manual, whereever you mention strftime - I guess this could help
many beginning users.
Cordial regards,
Nico
PS. For those of you wondering: Seminars is working fine with a 30MB PHP
memory regime.
--
Nico Deblauwe
Email: nico at deblauwe.be
Mobile: +32 486 84 08 93
More contact info on http://www.deblauwe.be.
Quote:
"Fortune favours the prepared mind." (Louis Pasteur)
More information about the TYPO3-project-seminars
mailing list