Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Mirakel shifts due date by timezone offset forTW-originated tasks synced back to TW #596

Open
itadventurer opened this issue Jan 12, 2015 · 2 comments

Comments

@itadventurer
Copy link
Member

Original Reporter: tbabej
Environment: Not Specified
Version: v2.8
Migrated From: https://mirakel.atlassian.net/browse/MIR-605

1.) Create a task in TW, with due date with time:

{noformat}
$ task add test2 "due:2014-01-12T08:00"
Created task 16.
{noformat}

2.) Check the due date is correct:

{noformat}
$ task 16 info

Name Value
ID 16
Description test2
Status Pending
Entered 2015-01-12 06:32:19 (13 seconds)
Due 2014-01-12 08:00:00
Last modified 2015-01-12 06:32:19 (13 seconds)
UUID c83fcc10-9b37-497c-b548-9507d4d292b8
Urgency 12
due 1 * 12 = 12
{noformat}

3.) Sync to taskserver
4.) Sync from taskserver to Mirakel
5.) Sync from Mirakel to taskserver
6.) Sync from taskserver to task

{noformat}
task sync
Syncing with server.task.com:53589
modify c83fcc10-9b37-497c-b548-9507d4d292b8 'test2'

Sync successful. 1 changes downloaded.
{noformat}

7.) Investigate what happened:
{noformat}
task 16 info

Name Value
ID 16
Description test2
Status Pending
Entered 2015-01-12 06:32:19 (1 minute)
Due 2014-01-12 09:00:00
Last modified 2015-01-12 06:32:19 (1 minute)
UUID c83fcc10-9b37-497c-b548-9507d4d292b8
Urgency 12
due 1 * 12 = 12

Date Modification
2015-01-12 06:33:03 Due changed from '2014-01-12 08:00:00' to '2014-01-12 09:00:00'.
{noformat}

@itadventurer
Copy link
Member Author

tbabej said:
Note: I am in GMT+1, so this is looks like time from task has been shifted to accomodate phone's timezone, but has not been shifted back to UTC when syncing to TW.

@itadventurer
Copy link
Member Author

tbabej said:
Does not seem to happen with entry/modified timestamps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant