[Typo3] US Date

Claus Bruun claus at typoconsult.dk
Tue Mar 29 16:16:31 CEST 2005


Thats true, but at the moment this is the only solution afaik.


Claus.



Daniel Rahenkamp wrote:
> Thanks Claus, too bad I will have to "remember" that this change was made
> when future TYPO3 upgrades become available. Is there a move to localize
> this with the install tool? It is done with Language within TYPO3, time
> too is a localization issue. Would be nice not to have to worry about it.
> 
> Thanks again
> 
> Dan.
> 
> TYPO3 English <typo3-english at lists.netfielders.de> on Tuesday, March 29,
> 2005 at 6:16 AM -0500 wrote:
> 
>>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"
>>
> 
> 
> Daniel Rahenkamp
> Burnett Middle School
> 1010 Kingsway Road N.
> Seffner, Florida 33584
> 813-744-6745
> http://burnett.sdhc.k12.fl.us
> daniel.rahenkamp at sdhc.k12.fl.us
> 


-- 
Med venlig hilsen
Claus Bruun
TypoConsult
46 761 994
claus at typoconsult.dk



More information about the TYPO3-english mailing list