[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bugs #10279] calendar can't handle Dates before
From: |
Matthias Leonhardt |
Subject: |
[Phpgroupware-tracker] [bugs #10279] calendar can't handle Dates before 1970 |
Date: |
Thu, 09 Sep 2004 05:11:23 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54 [de] |
This mail is an automated notification from the bugs tracker
of the project: phpGroupWare.
/**************************************************************************/
[bugs #10279] Latest Modifications:
Changes by:
Matthias Leonhardt <address@hidden>
'Date:
Don 09.09.2004 at 09:06 (Europe/Berlin)
------------------ Additional Follow-up Comments ----------------------------
Did the suggestion below solve the problem?
/**************************************************************************/
[bugs #10279] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10279>
Project: phpGroupWare
Submitted by: Matthias Leonhardt
On: Mon 06.09.2004 at 12:16
Category: calendar
Item Group: 0.9.16.003
Severity: 5 - Average
Priority: 5 - Normal
Resolution: None
Privacy: Public
Assigned to: skwashd
Status: Open
Component Version: CVS
Platform Version: GNU/Linux - SuSE
Reproducibility: None
Planned Release: 0.9.18.000
Fixed Release:
Summary: calendar can't handle Dates before 1970
Original Submission: while syncing we use
$this->bo_iCal->import($data_lines, true, $timestamp);
to get new calendar-entries.
But if we have an entry (i.e. birthday) before 1970 the calendar can't handle
this. php produces warnings: localtime doesn' support negative values.
perhapps you know a way to handle this.
kind regards,
Matthias
Follow-up Comments
------------------
-------------------------------------------------------
Date: Don 09.09.2004 at 09:06 By: Matthias Leonhardt <mleonhardt>
Did the suggestion below solve the problem?
-------------------------------------------------------
Date: Don 09.09.2004 at 08:10 By: Dave Hall <skwashd>
Before you go and get all irrationaly about this problem again, as you did in
bug #10331, stop and relax for a minute.
Here is the project policy:
* No schema changes in stable
* No new features in stable
* Bug fixes in 16 only
Sync is not a supported 16 module, so any problems it has working with 16 is
not a bug in the 16 branch.
A fix for this would involve major changes for the calendar app:
* db schema change to support doubles instead of ints for dates
* change all of the logic to use julian dates
* logic to support storing the time component of the event as a decimal (1
second = 0.000000193 julian days)
* conversion scripts to transfer all of the data to the new schema.
* some testing would also be useful
This will not be fixed quickly. I have little interest atm spending the huge
amounts of time required to fix this. The calendar app needs some serious
attention, fixing this can wait until I have time to fix most of the problems
at once.
-------------------------------------------------------
Date: Die 07.09.2004 at 21:33 By: Dave Hall <skwashd>
won't be fixed in 16. Also birthdays are recurring events, which should not
have been entered pre1970.
This is more of a problem in the addressbook, which is covered by a seperate
bug report.
CC List
-------
CC Address | Comment
------------------------------------+-----------------------------
cboettger | calendar-bug im savannah...
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10279>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/