[Typo3] US Date
Claus Bruun
claus at typoconsult.dk
Tue Mar 29 13:16:06 CEST 2005
Its indeed hardcoded, as Daniel said.
You can change it by altering the file "jsfunc.evalfield.js" found in
the t3lib folder.
For "date", approx. line 418:
theString =
theTime.getDate()+'-'+(theTime.getMonth()+1)+'-'+this.getYear(theTime);
Change to:
theString =
(theTime.getMonth()+1)+'/'+theTime.getDate()+'/'+this.getYear(theTime);
Result: the format mm/dd/yyyy
Will also work for "datetime"
Claus
Eric Blom wrote:
> On Mar 28, 2005, at 10:48 AM, Daniel Rahenkamp wrote:
>
>> ...guess I am confused as to why there is a field
>> in the install app to set the date format. I haven't seen any effect that
>> this has. Perhaps a future feature?
>
>
> I am interested in knowing the answer to this question too. I've been
> puzzled by this field in the installer application while trying to
> figure out how to get the dates to show up in a format that my visitors
> will understand.
>
> Eric
>
--
Med venlig hilsen
Claus Bruun
TypoConsult
46 761 994
claus at typoconsult.dk
More information about the TYPO3-english
mailing list