Date Format Error
Subject: 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.
Subject: 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 :(
Subject: 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.
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.
Subject: 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
Topic from: http://www.icyphoenix.com/viewtopic.php?f=2&p=21067#p21067
Subject: Re: Date Format
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.
BlackBullett wrote: [View Post]
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.
Subject: 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.
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.
Subject: Re: Date Format
This is still an issue with the latest release of Icy Phoenix 1.2.0.27. Any different suggestions?
wingzfan wrote: [View Post]
This is still an issue with the latest release of Icy Phoenix 1.2.0.27. Any different suggestions?
Subject: 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.
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!
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!
Subject: Re: Date Format Error
Open viewtopic.php and look for this line:
Change the line to this:
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
$last_post_time = create_date2($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);
Change the line to this:
$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
Page 1 of 1
You cannot post new topicsYou 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
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.143s (PHP: 13% SQL: 87%)
SQL queries: 11 - Debug Off - GZIP Enabled