×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: bug time zone incorrect

bug time zone incorrect 15 years 2 months ago #2113

  • prommart
  • prommart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
i found this bug. example i config time zone in joomla to +7 in global config, when i post comment, time in comment is faster 7 hour. i resolve this problem by edit file joscomment\utils.php

from
660 global $mosConfig_offset;
661 return(date($format, strtotime($strdate)+($mosConfig_offset*60*60)));

to
660 //global $mosConfig_offset;
661 return(date($format, strtotime($strdate)));


I not sure this right way. but it resolve my problem.

bug time zone incorrect 15 years 2 months ago #2114

  • prommart
  • prommart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
my joomlacomment version is 3.26.
  • Page:
  • 1
Time to create page: 0.099 seconds