MartinSGill / TodoTxtJs

A Javascript web app implementation of TodoTxt
72 stars 29 forks source link

Date issues #51

Closed ghost closed 10 years ago

ghost commented 10 years ago

I imported a todo.txt file with due dates. When viewing in TodoTxtJs they all show up incorrectly (eg. due:2013-09-27 shows up as "Tomorrow" when it should show up as Friday [today is Wednesday 9/25]) Also, adding a task Test task due:tuesday added the test task but shows the due date as Sunday until I edit the task where is shows 9/30/13 which is Monday.)

MartinSGill commented 10 years ago

Hi, thanks for reporting this.

I've not managed to reproduce your exact cases, but there's definitely something strange going on there, as I've reproduced some of your issues. I'll take a look at it.

ghost commented 10 years ago

As of version 1.4.2 I am still seeing this.

I can send you a copy of my todo.txt file if that helps.

MartinSGill commented 10 years ago

I'm really starting to hate this bug :P No need for your file.

What time zone are you in? I'm wondering if maybe I'm not respecting time-zones. I'd not thought to test time-zone stuff and since I'm in Europe I'd not notice as I'm basically at UTC,

ghost commented 10 years ago

I am in central time zone. As of Yesterday Central Daylight Time (Chicago US)

Dates can be a real b!#$@

Glenn

On Mon, Nov 4, 2013 at 12:54 PM, Martin Gill notifications@github.comwrote:

Reopened #51 https://github.com/MartinSGill/TodoTxtJs/issues/51.

— Reply to this email directly or view it on GitHubhttps://github.com/MartinSGill/TodoTxtJs/issues/51 .

MartinSGill commented 10 years ago

I've taken another look at this, and I just cannot reproduce it. I even changed my time-zone, and tried it in different browsers, but they all gave me the correct day.

Can you please do the following:

  1. Open a new "Private" or "Incognito" session for your browser (this disables the cache and any extensions)
  2. Try to reproduce the problem with a couple of new test todos

When you reproduce it please send me the following:

Thanks.

ghost commented 10 years ago

Hi Martin,

I really appreciate the work you are doing on this. I really hope that you can figure it out because I love the concept and other than the date issue, I think this solution would be excellent for me.

I am on Mac OS X version 10.7.5 (I have also tried this on 10.8.x) using Chrome Version 30.0.1599.101 and Safari version 6.0.5 (7536.30.1) I have also tried it on my personal machine running OS X version 10.8.x and Chrome I have also tried it on a Parallels virtual machine running Windows 7.1 and Chrome Version 30.0.1599.101 m

I have tried dropping the attached todo.txt file into the import box. I have also tried entering a new task via the New Todo line. in both cases, the due dates are off by 1 day.

[image: Inline image 1]

Best of luck. Please let me know if there is any additional information you would like.

Glenn Etchison 918-409-2472

On Sat, Nov 9, 2013 at 3:28 AM, Martin Gill notifications@github.comwrote:

I've taken another look at this, and I just cannot reproduce it. I even changed my time-zone, and tried it in different browsers, but they all gave me the correct day.

Can you please do the following:

  1. Open a new "Private" or "Incognito" session for your browser (this disables the cache and any extensions)
  2. Try to reproduce the problem with a couple of new test todos

When you reproduce it please send me the following:

  • Your browser name and version
  • Your operating system
  • The text you used to reproduce the problem

Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/MartinSGill/TodoTxtJs/issues/51#issuecomment-28123422 .

todo #1 due:today todo #2 due:2013-12-01 (A) 2013-11-12 This todo has a creation date and a priority 2013-1-12 This task has just a creation date

MartinSGill commented 10 years ago

Okay. I've finally managed to reproduce it. Had to install a VM and set to a US time zone. Now I just need to figure out how to fix it. :)

ghost commented 10 years ago

You're awesome. I look forward to the fix.

Glenn Etchison 918-409-2472

On Wed, Nov 13, 2013 at 1:51 PM, Martin Gill notifications@github.comwrote:

Okay. I've finally managed to reproduce it. Had to install a VM and set to a US time zone. Now I just need to figure out how to fix it. :)

— Reply to this email directly or view it on GitHubhttps://github.com/MartinSGill/TodoTxtJs/issues/51#issuecomment-28427582 .

MartinSGill commented 10 years ago

This should be fixed now.