Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Date and time difference time does not work

Hello friends:
I've noticed that in version 7.01.01 paragraph date and time the time difference doesn't work, Click the time zone you out, never changes mark the time server.
img34.imageshack.us/img34/5115/phpfusionerrorhorario.jpg


A greeting - Algeciras
Pd.: I don't speak English translator google
Ya I noticed the same issue.
Find in maincore.php showdate() function, and edit it as follows:
CodeDownload  
function showdate($format, $val) {
   global $settings, $userdata;
   //if (isset($userdata['user_offset'])) {
   if ((isset($userdata['user_offset'])) && ($userdata['user_offset'] != 0)) {
      $offset = $userdata['user_offset'];
   } else {
      $offset = $settings['timeoffset'];
   }
   if ($format == "shortdate" || $format == "longdate" || $format == "forumdate" || $format == "newsdate") {
      return strftime($settings[$format], $val + ($offset * 3600));
   } else {
      return strftime($format, $val + ($offset * 3600));
   }
}

After this treatment it should work correctly
Thanks for the info!
Thread Information
Author
Replies
4 posts
Views
2,663 times
Last Post
Last updated on 9 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Marten, Algeciras, marketinggeek