Login or Register

RSS IconRecent posts in this topic

avatar
codi on Jul 17. 2008. 4:41 pm
When listing all milestones for a particular project, the date is displayed a day behind the actual start/due date. I've checked the $milestone array in the controller and everything is fine there.

Any ideas how or why this is happening?
avatar Staff
Ilija Studen on Jul 17. 2008. 10:47 pm
Problem is that your timezone offset is added to calculation when milestone date is displayed in this particular case. It is not correct (timezones should be ignored when this type of days is displayed) and it will be covered in activeCollab 1.1.3.
activeCollab Team Member
avatar
ChristianF on Jul 22. 2008. 8:39 pm
I see the same problem with file uploads. Our server is on California time (currently Pacific Daylight Time - PDT) and some of our people in Europe uploaded a few files a couple of hours ago. Now it says "Uploaded: Yesterday" even though it is still the same day here on the US west coast.

(My profile is set to PDT and activeCollab is set to PDT in the Admin section as well)

See screenshot
avatar Staff
Ilija Studen on Jul 22. 2008. 11:56 pm
Have you changed something in your setup except the lang? Text displayed bellow the title is not same as one that is displayed by vanilla 1.1.2. See the screenshot. Both times on it are displayed correctly (GMT+1).
activeCollab Team Member
avatar
ChristianF on Jul 23. 2008. 12:02 am
What do you mean exactly? I have pixeled out the user and project name, that's all. The "From Reviewers" is a category I created.

And well, yes, the times correspond but "Yesterday" is wrong.
avatar Staff
Ilija Studen on Jul 23. 2008. 12:08 am
Yes, you are 100% right - my bad. I completely forgot that Category is included in the information if available (I haven't selected it when I was testing).

So, times displayed on page and in hint (shows when you hover over "Yesterday" and hold a bit) are correct, but Yesterday text isn't? That should be covered with v1.1.3 release because we changed ago() helper (that prints relative time like Few minutes ago, 3 hours ago, Yesterday etc) to take users timezone into account.
activeCollab Team Member
avatar
ChristianF on Jul 23. 2008. 12:14 am
Oh wow, by the way, I didn't see that tooltip showing up with the date. Cool! =)

Here's another example. Actually, the times are off as well. ActiveCollab is set to PDT (GMT-8 + Daylight Savings) in the admin panel. The account I was logged in with to take the screenshot and the one to do the upload are both set to PDT, too.

And while I am at it: The "user last logged in time" is wrong for our installation, too - it wrongly adds 7 hours for the account I was using for the upload for example.

Just to be sure, I checked the server time and time zone - those are set correctly.
avatar Staff
Ilija Studen on Jul 23. 2008. 12:21 am
Thanks for the detailed feedback - I'll check what is wrong later today. This one requires a bit of digging through code and experimenting...
activeCollab Team Member
avatar
ChristianF on Jul 23. 2008. 12:23 am
Thanks!
avatar Pro
RobbPowell on Jul 28. 2008. 7:58 pm
Where does the time come from? I have user / admin and server set to the same time zone CDT, but AC seems to be hard coded at GMT? Is there an easy fix to this without waiting for an update?

Thanks.

RSS IconRecent posts in this topic