Date/Time COMPLETED is not UTC Format in VTODO

RESOLVED FIXED

Status

RESOLVED FIXED
13 years ago
12 years ago

People

(Reporter: fxpoffspring, Assigned: jminta)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

The COMPLETED field in a VTODO is in the wrong format. The RFC2445 says that this field has to be in the UTF format.

http://www.ietf.org/rfc/rfc2445.txt

4.8.2.1 Date/Time Completed

Reproducible: Always

Steps to Reproduce:
(Assignee)

Comment 1

13 years ago
Created attachment 211225 [details] [diff] [review]
patch v1

Setting a completed date for a task in the new dialog didn't work at all.  Once I fixed the typo in the element id and converted it to a caldatetime, everything works fine.  caldatetimes default to utc.  Sample output:

BEGIN:VTODO

CREATED:20060209T032443Z

LAST-MODIFIED:20060209T032459Z

DTSTAMP:20060209T032459Z

UID:uuid1139455499928

SUMMARY:task

PRIORITY:0

STATUS:COMPLETED

CLASS:PUBLIC

COMPLETED:20060214T050000Z

PERCENT-COMPLETE:100

END:VTODO

(Yes, Feb 14, Chuck Norris can complete tasks in the future.)
Assignee: gray → jminta
Status: UNCONFIRMED → ASSIGNED
Attachment #211225 - Flags: first-review?(dmose)
Comment on attachment 211225 [details] [diff] [review]
patch v1

r=dmose
Attachment #211225 - Flags: first-review?(dmose) → first-review+
(Assignee)

Comment 3

13 years ago
patch checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
Component: libical → Internal Components
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: libical → base
You need to log in before you can comment on or make changes to this bug.