Problem is when editing a task (such as Get out of Bed) the time is listed as 14 August 2018 12:55 am
in the editor, however it is correctly displayed as Aug-14 5:55 am
in the Todo table (which is what is expected). One option is to mentally calculate the new time. Fortunately it is possible to test this locally (http://localhost:8080/pier/john-c-borden/todo also displays this the same behavior (5:55am)). Printing the direct accessor #due instead of #displayDue corrected the problem, and can be checked with:
(PRPathLookup start: (PRKernel instanceNamed: 'Pier') root path: '/John Borden/Todo/Get out of bed') due.
Unfortunately this caused problems later - when adding a workout item and the server time is a day in advanced, the workout item can't be deleted. Reverting back the description #displayDue
change and updating PRToDo>>displayDateWithTimeZoneDifference:
to use the updated time resolves the problem.