You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 50 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - change post time/date format [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
sixf00t4
Sergeant
Sergeant


Joined: Oct 16, 2003
Posts: 123


PostPosted: Sun Nov 05, 2006 2:17 am Reply with quoteBack to top

how do you change the time format of story posts?

right now it shows as
Quote:
on Saturday, August 27 @ 21:42:55 EDT


and i'd like it to be like:
Quote:
on Saturday, August 27, 2006 @ 9:42 PM EST

_________________
Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers!

Last edited by sixf00t4 on Sun Nov 05, 2006 1:50 pm; edited 1 time in total
Find all posts by sixf00t4View user's profileSend private messageVisit poster's website
sixf00t4
Sergeant
Sergeant


Joined: Oct 16, 2003
Posts: 123


PostPosted: Sun Nov 05, 2006 1:49 pm Reply with quoteBack to top

well, i edited /language/lang-english.php:

from:
Quote:
define("_DATESTRING","%A, %B %d @ %T %Z");


to
Quote:
define("_DATESTRING","%A, %B %d, %Y @ %T");


and that added to 2006, but i can't figure out how to change the time format. %h:%i doesn't seem to be working based on http://www.php.net/date/

_________________
Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers!
Find all posts by sixf00t4View user's profileSend private messageVisit poster's website
sixf00t4
Sergeant
Sergeant


Joined: Oct 16, 2003
Posts: 123


PostPosted: Sun Nov 05, 2006 1:59 pm Reply with quoteBack to top

got it just by guessing around...

define("_DATESTRING","%A, %B %d, %Y @ %X");

_________________
Legend of Six is an RPG, lots of fun.
free, no email registration required, text/browser based, lots of players, and looking for developers!
Find all posts by sixf00t4View user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.158 Seconds - 334 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::