Keyword

Problem with dates.

More
12 years 11 months ago #100459 by Peter
Problem with dates. was created by Peter
I have K2 v2.4.1 and a strange problem.

I have some categories and items and a k2_content module on the side, and menu items to the K2 categories.

If I click to a menu item, I can see the K2 items of the category and there is a list of the items on the side-module. After this I click on the item, there is only the item itself and no related items, no items in the module.

I debuged my k2_content module and in the 32.line of helper.php is this code:

   $now = $jnow->toMySQL();

If is echo this variable, the result is 2011-10-12 13:30:34

If I go back to the category view, the value is 2011-10-12 15:31:14

And the current time is 2011-10-12 17:31:14 in our timezone

 

What is the problem? It looks like the problem is in the JDate class out of K2? But why are these dates different. The Itemid is the same in the url

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum