phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #136] Calendar view buggy


From: nobody
Subject: [Phpgroupware-tracker] [Bug #136] Calendar view buggy
Date: Thu, 17 Oct 2002 19:37:36 -0400

=================== BUG #136: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=136&group_id=509

Changes by: Anonymous user        Date: 2002-Oct-17 19:37

------------------ Additional Follow-up Comments ----------------------------
It only seems to happen for me if the weekstart day is set to Monday.  If so, 
for Oct 2002, I get Oct 27th appearing on a sun and a mon.  It's fine if set 
weekstart day to Sunday, though.  Running version 0.9.14.000.



=================== BUG #136: FULL BUG SNAPSHOT ===================


Submitted by: peter_a                   Project: phpGroupWare                   
Submitted on: 2002-Apr-26 15:17
Category:  calendar                     Bug Group:  devel cvs                   
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  skeeter                   
Status:  Open                           Component Version:  None                
Platform Version:  None                 Reproducibility:  Every Time            

Summary:  Calendar view buggy

Original Submission:  I have my calendar view set to Weekday starts on Monday. 
In monthly view I get it all right, April 2002 as header, 1-7, 8-14, 15-21, 
22-28, 29-30 in the rows, and in the select box at bottom It says week 
2002-04-22 - 2002-04-28. 
But in weekly view I get this:
April 22-27 2002 as header << 27 should be 28
21-27 << The days shown are from sun to sat!
select box at bottom says week 2002-04-22 - 2002-04-28. << correct!

Beat that!


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Oct-17 19:37             By: None
It only seems to happen for me if the weekstart day is set to Monday.  If so, 
for Oct 2002, I get Oct 27th appearing on a sun and a mon.  It's fine if set 
weekstart day to Sunday, though.  Running version 0.9.14.000.

-------------------------------------------------------
Date: 2002-Oct-16 21:30             By: martin_hupf
I think a similar problem exists with the weekstartday monday, and with the 
last week in Octobre: it seems that the 27 of 2002 is doubled, so the following 
weekday are also wrong. Same Problem with last week of october in the following 
years.
My solution is to dig into the code of 
class.datetime.inc.php,v 1.5.2.7 2002/08/12 22:50:30 skeeter Exp, Line 276:
//                      return $sday - 7200;
//      I played around with the values and guess what:
//      return $sday- 3601; //this also causes the error
//      return $sday- 3600; //this not.
                        return $sday;  

After erasing "- 7200" it seems to work. 

If the timezone is relevant:
My Server is in Timezone Berlin, MEST.
I didn't experiment with that, yet.

Hope that this helps

Martin Hupf

-------------------------------------------------------
Date: 2002-Oct-14 07:04             By: None
December 2003 that is (sorry I forgot)

-------------------------------------------------------
Date: 2002-Oct-14 07:02             By: None
It seems that on December 1-6 (week starts at monday's and timezone +1, 
Netherlands) is denoted as a November week. Odd but true. I use the CVS from 
14-10-2002. 

-------------------------------------------------------
Date: 2002-Aug-21 19:51             By: skeeter
Try this again with the latest code from CVS.

I found that there was a few problems with some timezone stuff.  Possibly, you 
were doing that around the GMT switch to the next day.

Just some thoughts, but I have done some more fixes in their.

Thanks,
Mark A Peters (Skeeter)

-------------------------------------------------------
Date: 2002-Apr-27 04:42             By: peter_a
I tried some different settings, and for starters I noticed that it acts more 
or less by old settings until you log out and in. 
Well I tried to change my timezone from 1 to -6, and after logout login, it 
works! Changing back to 1 gives the prev bug. Timezone -1 works ok. 
Notice that monthly view works all along! (Local time 10.42)

-------------------------------------------------------
Date: 2002-Apr-26 22:49             By: skeeter
I'm not getting the same results as you.

I'm looking at phpGW version 0.9.15.002, with my user preferences as follows:

general:
timezone => -6

calendar:
weekdaystarts => Monday

And it is showing the correct information, with the exception of the headers 
above the week (Mon Tue Wed Thu ....) not being displayed.  But, everything 
else is looking good.

Can you give me some more information?  Maybe, what your timezone preference is 
currently set to?  Maybe you need to set it properly?

Thanks,
Mark A Peters (Skeeter)


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=136&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]