Steps to reproduce:
1. create a new task with entry date and due date and e.g. 1 hour duration;
2. enable and select different timezones for the two dates in a manner that the time difference between the timezones is positive and greater than the task duration e.g.
entry date: Europe/Paris (UTC/GMT+1)
due date: America/New York (UTC/GMT-5);
3. change the time for the entry date so that the due date will be in the previous day e.g.
entry date 09/01/2013 2:00 Europe/Paris
due date 08/01/2013 21:00 America/New York;
4. save and close the dialog;
5. reopen the task;
When reopening the dialog, the Save and Close button is disabled and the status doesn't change even when selecting a new (correct) due date in the datepicker.
Created attachment 704267 [details] [diff] [review]
patch - v1
The function updateAccept() doesn't keep in count the timezones for tasks.
The patch should fix.
This patch should be applied after the patch for bug 410427 (only for line numbers shifting).
Comment on attachment 704267 [details] [diff] [review]
patch - v1
Pushed to comm-central http://hg.mozilla.org/comm-central/rev/899bbca945e5