Calendar off

Current Version: 2.0.2
Released: 2013-10-27
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.

Topic author
HomeRacingWorld
Active Member
Posts: 6
Joined: 10. September 2012 14:41
phpBB.com User: Homeracingworld

Calendar off

Post by HomeRacingWorld »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.homeracingworld.us/portal.ph ... #minical39

What have you done before the problem was there?
Nothing

What have you already tryed to solve the problem?
Checked settings in the ACP

Description and Message
My calendar is off one day. Showing today is Sunday.

The one here is correct.

What is wrong? What made it change?

Thanks
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Calendar off

Post by archivar »

Check it in the board settings, the date format.
If there also wrong, not the cause of the portal.
Please Inquire then at phpBB.com.
V.G. archivar
sorry for my bad english
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Calendar off

Post by Marc »

This seems to be an issue with UTC-x offsets. I'll try to have a look at that.

Topic author
HomeRacingWorld
Active Member
Posts: 6
Joined: 10. September 2012 14:41
phpBB.com User: Homeracingworld

Re: Calendar off

Post by HomeRacingWorld »

Thank you, I checked the board settings.
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Calendar off

Post by archivar »

HomeRacingWorld wrote:Thank you, I checked the board settings.
They can say how they solved the problem?
V.G. archivar
sorry for my bad english

Topic author
HomeRacingWorld
Active Member
Posts: 6
Joined: 10. September 2012 14:41
phpBB.com User: Homeracingworld

Re: Calendar off

Post by HomeRacingWorld »

It is not fixed. I checked all the settings in the ACP. I reloaded the module as well, but no luck yet.

The date and time are correct at the top of my forum, only this module is off.
User avatar

greybox
Active Member
Posts: 7
Joined: 19. June 2012 17:15
phpBB.com User: greybox

Re: Calendar off

Post by greybox »

I have same problem: calendar week day is incorrect on the Portal calendar (one day off) when the user time zone is negative vs UTC. The issue is also reported here:
https://www.phpbb.com/customise/db/mod/ ... s-t_103585

I understand that Marc is working on it, let's be patient.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Calendar off

Post by Marc »

This should fix the incorrect day in the calendar:
https://github.com/board3/Board3-Portal ... 8bb5c2888d
User avatar

greybox
Active Member
Posts: 7
Joined: 19. June 2012 17:15
phpBB.com User: greybox

Re: Calendar off

Post by greybox »

Works fine after manual editing, thank you!!

Will there be a problem in the future upgrades using automod?
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Calendar off

Post by Marc »

No.

markc
Active Member
Posts: 2
Joined: 4. June 2013 14:12

Re: Calendar off

Post by markc »

I am having this problem also. I replaced the code you provided in the post above and it is still doing it. What information would you need for further assistance?

markc
Active Member
Posts: 2
Joined: 4. June 2013 14:12

Re: Calendar off

Post by markc »

never mind i missed a line ty for the fix

Kerrith
Active Member
Posts: 7
Joined: 31. August 2013 23:03
phpBB.com User: Kerrith

Re: Calendar off

Post by Kerrith »

Marc wrote:This should fix the incorrect day in the calendar:
https://github.com/board3/Board3-Portal ... 8bb5c2888d

I too tried your fix, with a new install of phpBB 2.0.5 and Board3 Portal 2.0.1.

My problem is that when I try to go forward a month from July it skips August and jumps to Sept. Then from Sept forward it stays at Sept. Sept to Oct OK. I'm in Hawaii with no daylight savings.

Is there a whole new portal_calendar.php that I could upload and overwrite the existing one?

Otherwise the board works perfectly.

Thanks,

Kerry
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Calendar off

Post by archivar »

Kerrith wrote: I too tried your fix, with a new install of phpBB 2.0.5 and Board3 Portal 2.0.1.
You must upgrade to phpBB v.3.0.11 for B3P v.2.0.1.
V.G. archivar
sorry for my bad english

Kerrith
Active Member
Posts: 7
Joined: 31. August 2013 23:03
phpBB.com User: Kerrith

Re: Calendar off

Post by Kerrith »

My bad. I do have 3.11.

I tried https://github.com/board3/Board3-Portal ... 8bb5c2888d but kept getting lots of errors.

Am I doing the editing correctly?

$this->stamp = strtotime($date);
return ($this->stamp);

In other words, I deleted both the salmon colored highlighted string and the pink colored highlight.


I noticed that the pink doesn't include the ; is that correct?

Thanks,

Kerry
Locked

Return to “Board3 Portal 2.0.x - English Support”