Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
date has changed to 24 hours after upgrade to latest ver

 

 


roi
User

Oct 14, 2002, 11:16 PM

Post #1 of 3 (1760 views)
Shortcut
date has changed to 24 hours after upgrade to latest ver Can't Post

Hi there,



After upgrading to the latest version....The date on my news has changed to a 24 hour GST. I dont like this and how do i change it back to 12 hours? I could not figure this out after looking through the setting in the server.



Thank you


dlo_itools
Staff


Oct 15, 2002, 9:32 AM

Post #2 of 3 (1752 views)
Shortcut
Re: [roi] date has changed to 24 hours after upgrade to latest ver [In reply to] Can't Post

Check the file cgi-bin/artman/exec/config.ini. Change the lines for time_format and datetime_format to use %I:%M %P (12-hr format) instead of %T or %H:%M (24-hr format).

Previous versions of Article Manager was ignoring these setting and mostly used a 12-hour format.
/Dave Lo


Damon
Staff / Moderator


Oct 15, 2002, 10:35 AM

Post #3 of 3 (1751 views)
Shortcut
Re: [roi] date has changed to 24 hours after upgrade to latest ver [In reply to] Can't Post

Hi,

There was an issue with the date format that was corrected in the latest upgrade.

To change the time format from 24 hours to 12 hours, here is what to do to:

1. Open the /exec/config.ini file in a text editor.

2. Find the following lines:

date_format = %b %e, %Y
time_format = %H:%M
datetime_format = %b %o, %Y - %H:%M:%S

3. Change to:

date_format = %b %e, %Y
time_format = %l:%M
datetime_format = %b %o, %Y - %l:%M

4. Save and re-publish all.

That should set time format to 12 hours. Here is a complete list of all the time and date config.ini settings.

I hope that helps. Let me know if you have any questions.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/