TZ issue: CP: OK (php.ini) / Art. Summ. & Calendr: offset

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

TZ issue: CP: OK (php.ini) / Art. Summ. & Calendr: offset

Post by StudioZ »

The server on which I am hosted (CPanel shared account) is set one hour
back of my local time (America/Montreal). I managed to fix this issue by
creating a php.ini file inside my PhpWCMS folder where adding this line to:
; USER MODIFIED PARAMETERS FOLLOW
date.timezone = America/Montreal

So... now everytime I update a CP, the "last edit date/time is showing
perfect.

The problem is only with Article summary(ies). Suppose I create a new
Article, then I have to wait for an hour before it goes live. This could be
misleading for a new PhpWCMS user. In my case, I simply cheat by editing
the "HH:" portion in "edit article basis information > begins YYYY-MM-DD
HH:MM:SS.

I also noticed an issue with the core "calendar/events" module.
Suppose I want an event to show "time: from 09:00 - 17:00"
I will have to enter: 08:00 - 16:00 when creating/editing the event.

Hope these issues will be simple to fix.

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Post Reply