Date menu picks wrong date in Tasque + Remember the Milk

Bug #781409 reported by Kristi Wright on 2011-05-11
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tasque (Ubuntu)

Bug Description

Binary package hint: tasque

When I choose a task due date, Tasque sometimes remembers the wrong date. The No Date and Choose Date options work fine, but for the other options, Tasque acts as if I picked the day before the one I actually selected.

When I choose 5/11 Today, it remembers 5-10 Tue
When I choose 5/12 Tomorrow, it remembers 5-11 Wed
When I choose 5/13 Fri, it remembers 5/12 Thu
When I choose 5/14 Sat, it remembers 5/13 Fri
When I choose 5/15 Sun, it remembers 5/14 Sat
When I choose 5/16 Mon, it remembers 5/15 Sun
When I choose 5/17 Tue, it remembers 5/16 Mon
When I choose 5/18 In 1 Week, it remembers 5/17 Tue
When I choose No Date it works as expected
When I choose Choose Date it works as expected

I'm running Tasque 0.1.9-1 on Natty inside VirtualBox. Tasque syncs with my Remember the Milk account.

Stuart Bishop (stub) wrote :

I also see this behavior.

My guess would be timezone handling, and this occurs for people in '+' timezones (I'm at UTC+7).

Kristi Wright (kristiwr) wrote :

This bug affects me at UTC-7, so it's not limited to '+' timezones.

Kurosawa Takeshi (takenspc) wrote :

Remember The Milk assumes the timezone of the due date is user's Remember The Milk timezone.

"due is parsed in the context of the user's Remember The Milk timezone."

Tasque, however, passes the date as UTC at Rtm.TasksSetDueDateParse()
# See RtmNet/Rtm.cs and src/Backends/Rtm/RtmTask.cs

Kurosawa Takeshi (takenspc) wrote :

A patch for the problem.
I tested with Asia/Tokyo time zone.

Changed in tasque (Ubuntu):
status: New → Confirmed

The attachment "Patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers