Closed Bug 326390 Opened 19 years ago Closed 19 years ago

Date/Time COMPLETED is not UTC Format in VTODO

Categories

(Calendar :: Internal Components, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fxpoffspring, Assigned: jminta)

Details

Attachments

(1 file)

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:
Attached patch patch v1 — — Splinter Review
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+
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 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.

Attachment

General

Creator:
Created:
Updated:
Size: