shuhaowu / projecto

[DEPRECATED] Projecto is a minimalistic open source project management system built using Flask and AngularJS.
https://getprojecto.com
Apache License 2.0
35 stars 7 forks source link

Todo's due date either not displayed or saved properly #25

Open travellingprog opened 11 years ago

travellingprog commented 11 years ago

I created a todo and set its due date to 2013-06-30.

If I go to edit that todo, the due date shows up as 2013-06-29 20:00.

I suspect that the due date is set to the midnight hour in the user's local time zone, and when it is saved on the server it is being set to GMT timezone. This would be good practice since our users could be in different time zones. However, the time should be displayed in the user's local timezone. The relativeTime filter needs to also respect this. At this time, this todo says Due in 8 days when I would expect it to say Dues in 9 days.

Or, it's just not being saved properly.

shuhaowu commented 11 years ago

I suspected that something along that line might be happening but I didn't actually get to investigate when I wrote it. I'll take a look again after work

shuhaowu commented 11 years ago

Also, see #1

shuhaowu commented 11 years ago

See #56 too. There's a bunch of duplicates. Heh