[Typo3] US Date
Daniel Rahenkamp
daniel.rahenkamp at sdhc.k12.fl.us
Tue Mar 29 14:47:57 CEST 2005
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
More information about the TYPO3-english
mailing list