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.

Profile PM  
Subject: Re: Date Format
wingzfan wrote: [View Post]
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.

What do you refer to?

Profile PM  
Subject: Re: Date Format
you can set your date format from the ACP but also from your UCP :mricy:

Subject: Re: Date Format
Topic splitted for bug reporting.

Continues in http://www.icyphoenix.com/viewtopic.php?t=3042

Profile PM  
Subject: Re: Date Format
novice programmer wrote: [View Post]
Topic splitted for bug reporting.

Continues in http://www.icyphoenix.com/viewtopic.php?t=3042


Im using the beta but its also doing it in the stable release.

BTW, only mods can post in that other forum.

Profile PM  
Subject: Re: Date Format
wingzfan wrote: [View Post]
novice programmer wrote: [View Post]
Topic splitted for bug reporting.

Continues in http://www.icyphoenix.com/viewtopic.php?t=3042


Im using the beta but its also doing it in the stable release.

BTW, only mods can post in that other forum.


It was only for report the bug to the staff in order to solve it in next version.

Profile PM  
Subject: Re: Date Format
anyone found a workaround for this?

Profile PM  
Subject: Re: Date Format
Has anyone managed to solve this?

Profile PM  
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.

Profile PM  
Subject: Re: Date Format
if you change it on your profile it's still not working?

Subject: Re: Date Format
{CURRENT_TIME} var is defined in includes/page_header.php

Code: [Download] [Hide] [Select]
'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
Mighty Gorgon wrote: [View Post]
{CURRENT_TIME} var is defined in includes/page_header.php

Code: [Download] [Hide] [Select]
'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:


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.

image2_1196342147_996576

Profile PM  

Page 1 of 1


  
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

   

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