Date Format »  Show posts from    to     

Icy Phoenix


Old Support Topics - Date Format



wingzfan [ Fri 02 Nov, 2007 04:37 ]
Post 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.


novice programmer [ Fri 02 Nov, 2007 09:34 ]
Post 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?


jz [ Fri 02 Nov, 2007 10:49 ]
Post subject: Re: Date Format
you can set your date format from the ACP but also from your UCP


novice programmer [ Fri 02 Nov, 2007 21:11 ]
Post subject: Re: Date Format
Topic splitted for bug reporting.

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


wingzfan [ Fri 02 Nov, 2007 21:38 ]
Post 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.


novice programmer [ Sat 03 Nov, 2007 16:59 ]
Post 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.


wingzfan [ Tue 06 Nov, 2007 05:09 ]
Post subject: Re: Date Format
anyone found a workaround for this?


wingzfan [ Fri 16 Nov, 2007 15:41 ]
Post subject: Re: Date Format
Has anyone managed to solve this?


wingzfan [ Tue 20 Nov, 2007 02:04 ]
Post 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.


Zuker [ Fri 23 Nov, 2007 17:56 ]
Post subject: Re: Date Format
if you change it on your profile it's still not working?


Mighty Gorgon [ Sat 24 Nov, 2007 14:11 ]
Post subject: Re: Date Format
{CURRENT_TIME} var is defined in includes/page_header.php

Code: [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.


wingzfan [ Thu 29 Nov, 2007 14:15 ]
Post subject: Re: Date Format
Mighty Gorgon wrote: [View Post]
{CURRENT_TIME} var is defined in includes/page_header.php

Code: [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.


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




Powered by Icy Phoenix