Welcome, Guest
Username Password: Remember me

Date Format for USA
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Date Format for USA

Date Format for USA 8 years, 8 months ago #1704

  • dpminusa
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
The log file date format seems to be hard-coded as d/m/Y. In the USA it is m/d/Y. If you want to change it edit:


function Log( $data ) {
		// Write data to the log file
		// DPM: Changed to m/d/Y from d/m/Y for US standards.
		if ( !$this->loggingEnabled ) return;
		$time = date( 'm/d/Y H:i:s' );
		$log = $time . '  ' . $data . "\r\n";

		fwrite( $this->logFileHandle, $log );

Maybe this could become and option in cedit_blockdisposable.xml

Re: Date Format for USA 8 years, 8 months ago #1705

Thanks for posting this. I will look into adding this as an option for RV2. If anyone wanted to add it to RV1, I am happy to update the download on this site, but I personally am not adding features to RV1 anymore. I am more than happy to release updates that others have done that add extra features.

It should be fairly straight-forward to add this as an option to the parameters page. I will also look into reading the date setting from the Joomla installation (and/or server) and using that as default.
  • Page:
  • 1
Time to create page: 0.39 seconds
Copyright © 2009 www.cedit.biz. All rights reserved.