forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: popupbob on February 19, 2007, 07:51:41 pm

Title: Change the PMS day format ***
Post by: popupbob on February 19, 2007, 07:51:41 pm
Hi I have been fooling around with the pms files.. and I kind of dislike the way it makes they day format in the pms.

I want to remove the  "Today, Monday - 19 Februarry 2007" format along with the Time format..

I want it to show the ordanarry timestamp like this: ex.   "19 Feb 2007 - kl 19:57"

can someone please help me getting started with this adjustment?  ???
Title: Re: Change the PMS day format ***
Post by: Davide Renda on February 19, 2007, 08:56:01 pm
config --> private messaging --> date format / time format
Then, change it to the value that fits you best
Title: Re: Change the PMS day format ***
Post by: popupbob on February 20, 2007, 12:20:52 am
I tried figure it out, still no luck :(

what I have is a day format that looks like this:

Monday 19th of February 2007 - 11:19:01

...and I want it to look like this:    19 Feb 2007 - kl. 23:45


I managed to remove the (today,yesterday,last week..last month...)

Would be nice if you could be more specifik (point to the filenames pls) :)
Title: Re: Change the PMS day format ***
Post by: Davide Renda on February 20, 2007, 09:44:38 am
It's not a file to edit, but simply go to the config panel of your gallery, section private messaging, then edit the format, using standard php date/time format (look here (http://fr2.php.net/manual/en/function.date.php), but Google is your friend!)
Title: Re: Change the PMS day format ***
Post by: popupbob on February 20, 2007, 05:20:10 pm
aww.. hehe, soo simple (thanks Lontano)  :D
Title: Re: Change the PMS day format ***
Post by: Stramm on February 20, 2007, 08:04:27 pm
Lontano, thanks for helping out here  ;)