benrhughes / todotxt.net

An implementation of todo.txt for Windows using the .NET framework
http://benrhughes.github.io/todotxt.net/
Other
501 stars 123 forks source link

Hard crash when using relative due dates with non-English date settings #84

Closed ghost closed 12 years ago

ghost commented 12 years ago

Description

Windows 7. When adding a new task and using due:[day] todoxt.net stops working and shuts itself down. There is no mention/code of this incident in the error log. due:today or due:tomorrow works fine, but using weekdays causes a crash.

Workaround

I might have figured it out. My machine's time/date settings were set in a non-English format (while the system-language is English) When I changed it, the feature due:[day] worked.

benrhughes commented 12 years ago

Thanks for reporting this. I'm on holidays at the moment but I'll have a look when I get back.

Cheers,

Ben On Jul 17, 2012 1:18 AM, "grearth" < reply@reply.github.com> wrote:

Windows 7. When adding a new task and using due:[day] todoxt.net stops working and shuts itself down. There is no mention/code of this incident in the error log. due:today or due:tomorrow works fine, but using weekdays causes a crash.


Reply to this email directly or view it on GitHub: https://github.com/benrhughes/todotxt.net/issues/84

benrhughes commented 12 years ago

Hi, I can't replicate this in the latest build (v 1.6.6). Which version are you using?

Cheers,

Ben

ghost commented 12 years ago

Hi,

I'm using v. 1.6.6. Redownloaded/reinstalled, problem persists. No error message, nothing in error log.

Regards,

Grearth

benrhughes commented 12 years ago

That's strange.

Can you please create an empty todo.txt file somewhere and see if the error occurs using that? There might be an entry in your todo.txt that's tripping up the task parsing code.

ghost commented 12 years ago

Hi!

I might have figured it out. My machine's time/date settings were set in a non-English format (while the system-language is English) When I changed it, the feature due:[day] worked.

benrhughes commented 12 years ago

Great, thanks for letting me know. I'll leave this as a known problem/workaround for now - hopefully someone with some more multi-lingual experience might be able to work out a permanent fix.

Cheers,

Ben

ghost commented 12 years ago

Thanks.

By the way, keep up the good work. Great app!

On Fri, Jul 27, 2012 at 2:18 PM, Ben Hughes < reply@reply.github.com

wrote:

Great, thanks for letting me know. I'll leave this as a known problem/workaround for now - hopefully someone with some more multi-lingual experience might be able to work out a permanent fix.

Cheers,

Ben


Reply to this email directly or view it on GitHub: https://github.com/benrhughes/todotxt.net/issues/84#issuecomment-7303858