PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Change update_date to "Nov 24, 2005" (http://www.phpdig.net/forum/showthread.php?t=2141)

JAB Creations 09-06-2005 09:12 AM

Change update_date to "Nov 24, 2005"
 
I figure it's this line...

PHP Code:

'update_date' => ereg_replace('^([0-9]{4})([0-9]{2})([0-9]{2}).*',PHPDIG_DATE_FORMAT,$content['last_modified']), 

...in the search_function.php file that I can modify the date format but I'm not sure how?

JAB Creations 09-06-2005 09:15 AM

IoI...again I answer my own question (and hopefully someone else's).

config.php
define('PHPDIG_DATE_FORMAT','\2-\3-\1'); // Date format for last update

It was the first line for the term "date" in this file to boot! :cool:


All times are GMT -8. The time now is 07:11 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.