Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Date Format Error 
 
On the forum index where all the categories are, look at the last post time. Its always in a 24 hour timeline even though Ive selected it to be a 12 hour timeline. Like righ tnow in the patches forum the last post is listed at 22:13 even though in my UCP I have it so it should show 10:13. The time under the banner that shows if I have any new PM's is correct but it varies from the "last post" time.
 



 
wingzfanSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Date Format 
 
Wel Ive played with all the settings in the ACP and UCP for hours now and still cant change the time format  
 



 
wingzfanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
Ok I will pay someone to help me fix this  
 



 
wingzfanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
I had same problem. You need to go to the mysql database and set it. For some reason IP doesnt connect to my database well or something. Im noticing a patern so if you dont mind, is your database host set as a url like mysql.yourdomain.com or localhost? Database and other problems seem to be more common when they have to connect to database through url like mysql.yourdomain.com. Im still having a slight problem with times. Server time is correct but when you use IP it only does correct format when you do DST and put it 1 GMT zone foward. But dont give up on it, its a great CMS, just some bugs that need to be fixed.

If you dont know how to change the values in your MYSQL database then I can give you some instructions. I would take a look at it first though, it seems confusing (its not really though) but changing stuff can really mess your board up and you cant fix it unless you back it up. So I suggest doing that first. Another good thing is to not do it at all and keep trying with ACP if you still feel uncomfortable.
 



 
BlackBullettSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
Spiting and moving as other user has the same bug.

Topic from: http://www.icyphoenix.com/viewtopic.php?f=2&p=21067#p21067
 



 
Edited by novice programmer, Fri 02 Nov, 2007 21:16: Added url
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
BlackBullett wrote: [View Post]
I had same problem. You need to go to the mysql database and set it. For some reason IP doesnt connect to my database well or something. Im noticing a patern so if you dont mind, is your database host set as a url like mysql.yourdomain.com or localhost? Database and other problems seem to be more common when they have to connect to database through url like mysql.yourdomain.com. Im still having a slight problem with times. Server time is correct but when you use IP it only does correct format when you do DST and put it 1 GMT zone foward. But dont give up on it, its a great CMS, just some bugs that need to be fixed.

If you dont know how to change the values in your MYSQL database then I can give you some instructions. I would take a look at it first though, it seems confusing (its not really though) but changing stuff can really mess your board up and you cant fix it unless you back it up. So I suggest doing that first. Another good thing is to not do it at all and keep trying with ACP if you still feel uncomfortable.


yeah I set it in the database itself but it still doesnt show properly. I wouldnt give up on ip for this. This is the best cms Ive seen. Im absolutely loving this system.
 



 
wingzfanSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
Please, report in the version of icy phoenix you are using,
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format Error 
 
How can I change all date formats to german date (17.12.2007)?

The board still uses the german format but in news or recent topics for example another date format is uses:

Example
Recent topics block: 05 Dez 2007 12:00
Forum News block: Daniel @ 03 Dez 2007 21:04
XS news: block: 17 Dezember 2007: This is a news test

I want to have consistent german dates with points and not many different formats.
 



 
ReneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format 
 
wingzfan wrote: [View Post]
Wel Ive played with all the settings in the ACP and UCP for hours now and still cant change the time format  


This is still an issue with the latest release of Icy Phoenix 1.2.0.27.  Any different suggestions?
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format Error 
 
Moving to the suport zone for the newest release.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format Error 
 
I'm sorry to bring this up again, but this time/date format issue is still present, even in the latest patched version of IP and it is very confusing for my users, including myself.

 
Spoiler: [ Show ]


In the "last post" column, the date format is: day/month/year
I want it to read: month/day/year

Also, where can you change the military time to 12-hour time?  I've followed the instructions MG posted in this thread and in: http://www.icyphoenix.com/viewtopic...ighlight=format and had no luck.

Surely there is a way to change this because I think the date format I listed above looks more professional and is easier to read.  The same applies to the time format.  If anyone has any suggestions or ideas, please let me know!

Thanks!
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Date Format Error 
 
Open viewtopic.php and look for this line:

Code: [Download] [Hide] [Select]
$last_post_time = create_date2($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);


Change the line to this:

Code: [Download] [Hide] [Select]
$last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);


If you use create_date instead of create_date2 you will be able to change it to any format you like (replace $board_config['default_dateformat'] with any format you like).

Use this date format reference for any help:
http://it2.php.net/manual/en/function.date.php
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron