Keyword

Month mismatch in archive month display

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • New Member
More
1 week 6 days ago #178571 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
When you say you can't verify this, do you mean it's working for you? Or that you can't verify that I'm using the Tools module?

If you go to threecatsmarketing.comn/blog then click on April 2021 in the side bar under "Archives" - what happens for you? I still see March in the page heading, not April. Are you seeing something different?

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 6 days ago #178572 by Fotis
Replied by Fotis on topic Month mismatch in archive month display
Oh we both see the same thing. But something is off on your server in regards to the dates.

See this: www.threecatsmarketing.com/component/k2/date/2021/3 (no K2 items, yet the title is again set one month back)

In K2, this is the part that controls the title output: github.com/getk2/k2/blob/master/components/com_k2/views/itemlist/view.html.php#L410-L437

Is there any chance some part of your site's code is renaming the months or something? Some plugin? Or some weird language override? It is surely not the template because calling the same URLs with ?template=protostar at the end results in the same issue.

For reference, change the months here: demo.getk2.org/component/k2/itemlist/date/2012/3?template=protostar

You'll see that URLs and actual displayed months are in-sync.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • New Member
More
3 days 12 hours ago #178683 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
I believe I figured out what's going wrong. If I set the Joomla time zone (Global Configuration > Server tab > Webzone Time Zone) to my time zone (America/New_York) it shows as one month earlier. I did a spot check, and if I use a zone in the Americas group, it does the behavior I'm seeing. But if I use a timezone from Asia, Africa, or anyplace else, or the UTC time zone, it works properly.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 days 5 hours ago #178686 by Fotis
Replied by Fotis on topic Month mismatch in archive month display
Do check your server's time/date as well.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • New Member
More
2 days 17 hours ago #178702 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
The system time zone is also set to America/New_York, and the time and date are correct.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 days 12 hours ago #178706 by Fotis
Replied by Fotis on topic Month mismatch in archive month display
Genuinely weird.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Paul Srch
  • Paul Srch's Avatar Topic Author
  • Offline
  • New Member
More
2 days 11 hours ago #178707 by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Ain't it, though?

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 days 10 hours ago #178708 by Fotis
Replied by Fotis on topic Month mismatch in archive month display
I'm regretting I haven't added GIF support in this forum :D

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum