Date Format
Subject: Date Format
No matter what I do the date format on the forum index stays in military time. Anyone have a fix for this? I notice it happens here also.
Subject: Re: Date Format
Im using the beta but its also doing it in the stable release.
BTW, only mods can post in that other forum.
novice programmer wrote: [View Post]
Im using the beta but its also doing it in the stable release.
BTW, only mods can post in that other forum.
Subject: Re: Date Format
It was only for report the bug to the staff in order to solve it in next version.
wingzfan wrote: [View Post]
It was only for report the bug to the staff in order to solve it in next version.
Subject: Re: Date Format
Ok if I wanted to uninstall all the time mods in IP and see if that fixes this issue is there a list of edits that was made? I know I could just download the mods from the credits page but some mods install differently in IP.
Subject: Re: Date Format
{CURRENT_TIME} var is defined in includes/page_header.php
As you can see the time is formatted with the default BOARD_TIMEZONE, so, changing the value in ACP and emptying the SQL cache, you should see the time in the format you wish.
If you don't have that code in your page_header.php (I can't remember how that was in IP 015), just update the code for CURRENT_TIME with the one I have provided, and you should solve your issue. :wink:
'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])),
As you can see the time is formatted with the default BOARD_TIMEZONE, so, changing the value in ACP and emptying the SQL cache, you should see the time in the format you wish.
If you don't have that code in your page_header.php (I can't remember how that was in IP 015), just update the code for CURRENT_TIME with the one I have provided, and you should solve your issue. :wink:
Subject: Re: Date Format
Ok I have that code in my page_header file so I changed the boards default date display setting and cleared the cache as well as changing the date format in my profile to match what I have in the ACP. Still the same thing. In the picture below you can see that up top the date is correct but in the "last post" area its still based on 24 hours.
Mighty Gorgon wrote: [View Post]
Ok I have that code in my page_header file so I changed the boards default date display setting and cleared the cache as well as changing the date format in my profile to match what I have in the ACP. Still the same thing. In the picture below you can see that up top the date is correct but in the "last post" area its still based on 24 hours.

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.0967s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled