Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 2
Goto page Previous  1, 2
 
Reply with quote Download Post 
Post Re: Birthday Dates Error. 
 
I guess you fixed it in SVN 189

But it was definitely after 28.03.2010
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend 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: Birthday Dates Error. 
 
Not to put any presure or anything, but
is there a fix for this problem yet?
 



 
ZealoSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Birthday Dates Error. 
 
Please try to replace realdate function in includes/functions.php.

Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    global $board_config;

    $unix_time = ($date * 86400) + 1;
    // Since we are using create_date, we need to adjust time back by timezone and dst to avoid date change...
    $zone_offset = (3600 * $board_config['board_timezone']) + get_dst($unix_time, $board_config['board_timezone']);
    $unix_time = $unix_time - $zone_offset;

    return create_date($date_syntax, $unix_time, $board_config['board_timezone']);
}


Let me know if this will fix your issues.
 




____________
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
Reply with quote Download Post 
Post Re: Birthday Dates Error. 
 
Yeaaaah!!! It worked!!!

Thank you very much!!!
 



 
DanielcSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Birthday Dates Error. 
 
Mighty Gorgon wrote: [View Post]
Please try to replace realdate function in includes/functions.php.

Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    global $board_config;

    $unix_time = ($date * 86400) + 1;
    // Since we are using create_date, we need to adjust time back by timezone and dst to avoid date change...
    $zone_offset = (3600 * $board_config['board_timezone']) + get_dst($unix_time, $board_config['board_timezone']);
    $unix_time = $unix_time - $zone_offset;

    return create_date($date_syntax, $unix_time, $board_config['board_timezone']);
}


Let me know if this will fix your issues.






PLS somebody upload for me    FIXed    functions.php


THX
 



 
TFSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fix For Birthday Dates Error 
 
I guess it is

OPEN includes/functions.php
FIND
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    return create_date($date_syntax, ($date * 86400) + 1, 0);
}

REPLACE WITH
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    global $board_config;

    $unix_time = ($date * 86400) + 1;
    // Since we are using create_date, we need to adjust time back by timezone and dst to avoid date change...
    $zone_offset = (3600 * $board_config['board_timezone']) + get_dst($unix_time, $board_config['board_timezone']);
    $unix_time = $unix_time - $zone_offset;

    return create_date($date_syntax, $unix_time, $board_config['board_timezone']);
}

 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fix For Birthday Dates Error 
 
TheSteffen wrote: [View Post]
I guess it is

OPEN includes/functions.php
FIND
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    return create_date($date_syntax, ($date * 86400) + 1, 0);
}

REPLACE WITH
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    global $board_config;

    $unix_time = ($date * 86400) + 1;
    // Since we are using create_date, we need to adjust time back by timezone and dst to avoid date change...
    $zone_offset = (3600 * $board_config['board_timezone']) + get_dst($unix_time, $board_config['board_timezone']);
    $unix_time = $unix_time - $zone_offset;

    return create_date($date_syntax, $unix_time, $board_config['board_timezone']);
}






THX  but not work for me  

 Mighty Gorgon  can you help please    or somebody else ? PLS PLS ...
 



 
TFSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Fix For Birthday Dates Error 
 
TF wrote: [View Post]
TheSteffen wrote: [View Post]
I guess it is

OPEN includes/functions.php
FIND
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    return create_date($date_syntax, ($date * 86400) + 1, 0);
}

REPLACE WITH
Code: [Download] [Hide] [Select]
function realdate($date_syntax = 'Ymd', $date = 0)
{
    global $board_config;

    $unix_time = ($date * 86400) + 1;
    // Since we are using create_date, we need to adjust time back by timezone and dst to avoid date change...
    $zone_offset = (3600 * $board_config['board_timezone']) + get_dst($unix_time, $board_config['board_timezone']);
    $unix_time = $unix_time - $zone_offset;

    return create_date($date_syntax, $unix_time, $board_config['board_timezone']);
}






THX  but not work for me  

 Mighty Gorgon  can you help please    or somebody else ? PLS PLS ...



PLS SOMEBODY HELP TO FIX THIS PROBLEM ..
 



 
TFSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] Fix For Birthday Dates Error 
 
TF, please open a new topic describing your issue and a way to replicate it, so I can have a look.
 




____________
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
Reply with quote Download Post 
Post Re: Fix For Birthday Dates Error 
 
I just want to say, the fix worked for me as well. Thank you!

to note; sorry TF, I wish I could help.
 



 
nothereSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 2
Goto page Previous  1, 2


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