- Posts: 21
COMMUNITY FORUM
Month mismatch in archive month display
- Paul Srch
- Topic Author
- Offline
- Junior Member
Less
More
3 years 7 months 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?
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178572
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks 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.
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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
3 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178686
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Month mismatch in archive month display
Do check your server's time/date as well.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
3 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178706
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Month mismatch in archive month display
Genuinely weird.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
3 years 7 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178708
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Month mismatch in archive month display
I'm regretting I haven't added GIF support in this forum :D
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Paul Srch
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
3 years 7 months ago #178739
by Paul Srch
Replied by Paul Srch on topic Month mismatch in archive month display
Do you have any suggestions on what else to try?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 7 months ago #178764
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Month mismatch in archive month display
I honestly have no idea. Could be some other plugin messing up the timezone.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.