Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

The calendar is off by 1 day

  • admin
  • admin's Avatar Topic Author
  • Administrator
  • Administrator
More
IP: 207.229.131.129 14 years 2 weeks ago #1152 by admin
The calendar representation may be off by one day in some cases. It just happens that the module uses the same article date for all dates, but the calendar representation needs some PHP in order to separate date elements into chunks.
You may end up with a difference of 1 day whenever the php.ini on your server and your Joomla! configuration are not in the same time zone (depending on how far away they are apart and your time of the day, you will end up with 1 day difference).

Olivier.
More
IP: 70.190.0.52 13 years 9 months ago #1732 by taunwillis
Olivier, did you ever get this issue resolved with the calendar date being off by 1 day? I am having he problem again...
  • admin
  • admin's Avatar Topic Author
  • Administrator
  • Administrator
More
IP: 207.229.131.129 13 years 9 months ago #1739 by admin
Hello,
no, this has not been resolved yet, mostly because it is a configuration issue and if servers are setup correctly the issue does not arise. Another major hurtle is that I had to make the code compatible with older versions of PHP so it works for everyone. More reliable PHP functions exist but starting version 5.3. By making a specific version of the module for Joomla! 3 (which requires PHP 5.3), I will be able to 'force' those functions into the code.

Olivier.
More
IP: 12.227.32.101 12 years 1 month ago #3819 by [email protected]
I am having the same problem ... i have three modules next to each other. the first column/module, has this issue of displaying the wrong day ... showing the next day.

the other two modules next to it .. do not have this problem.

any fixes?

thanks
  • admin
  • admin's Avatar Topic Author
  • Administrator
  • Administrator
More
IP: 173.2.237.88 12 years 1 month ago #3820 by admin
It is rather strange. Either the modules would all be off by one day or not, depending on the server configuration.
What type of dates are you showing for each module (modified...)? Are the type of dates the same for each module?

Olivier.
  • admin
  • admin's Avatar Topic Author
  • Administrator
  • Administrator
More
IP: 173.2.237.88 12 years 1 month ago #3821 by admin
Note that items may seem off by one day, but it may be because the server is off by a few hours. An article saved at 11pm may show up for the next day because the server is off by 2 hours (as an example).

Olivier.