phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #928] Daylight saving - calendar day shift


From: nobody
Subject: [Phpgroupware-tracker] [Bug #928] Daylight saving - calendar day shift
Date: Sun, 01 Sep 2002 16:51:03 -0400

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

Changes by: Jason Wies <address@hidden>
Date: 2002-Sep-01 20:51 (UTC)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Duplicate
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Duplicate of bug 927:

https://savannah.gnu.org/bugs/?func=detailbug&bug_id=927&group_id=509



=================== BUG #928: FULL BUG SNAPSHOT ===================


Submitted by: youki                     Project: phpGroupWare                   
Submitted on: 2002-Jul-31 14:54
Category:  API - phpGWapi               Bug Group:  None                        
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  Duplicate                  Assigned to:  None                      
Status:  Closed                         Platform Version:  None                 
Reproducibility:  Every Time            

Summary:  Daylight saving - calendar day shift

Original Submission:  Hello,

I've the following problem :
in October there is a day that is repeated : on my installation (0.9.14RC4, 
Mysql, Win Nt4 or Mandrake 8.2 and I'm from France (tz_offset=0) in October 
2002 there are two 27th. (sunday 27th and monday 27th)
Because of these two days, the rest of the days of the month are shifted (the 
28th is not a monday but a tuesday...).
This is also true in 2003, etc... with other days

I've tried to catch out what is happening :
I've understood that the calendar is constructed with the first day of the 
month. Then the first day of each week is constructed by adding 3600*24*7 to 
the timestamp of the first day of the month or of the precedent week.
But in October, on my installation :
time stamp of 10-21-2002:00-00 is 1035151200 
if you add 3600*24*7 to this timestamp you get 1035756000.
But if you try this :
echo date(m-d-Y:H-i,1035756000) you get 10-27-2002:23-00
That's why we've got to 27th October.

I think this is due to the daylight saving time.
The last sunday of October of each year (the 27th in 2002), we are going back 
in the past of one hour.

I don't exactly know what exact influence it has an the other modules of 
phpgroupware.

But DST is something that is not a standard : every country has it's own rules 
of DST changing date. That's why this problem should be solved in the pref or 
admin. 
(have a look at http://www.timeanddate.com/time/aboutdst.html)

I didn't find how to solve that particular problem for the moment, but as other 
modules can be concerned by this pb, I posted this bug whith the category 
phpGWapi.

If you need any other information, or if I'm completly wrong feel free to 
contact me by email (address@hidden)

Hope this helps

Nicolas Reignier 

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

-------------------------------------------------------
Date: 2002-Sep-01 20:51             By: Zone
Duplicate of bug 927:

https://savannah.gnu.org/bugs/?func=detailbug&bug_id=927&group_id=509




No files currently attached


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




reply via email to

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