You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I customized time representation through System Preferences on my system and that apparently doesn't work well with TodoTxtMac. The app doesn't add tasks (pressing Enter simply removes focus from TextArea) and it doesn't open existing lists. To be more specific, I'm using the preset for Russian region but with 12-hour time format (default is 24-hour).
I used the debugger and found out that NSDateFormatter fails to parse the fake due date and returns nilhere which then it's being used here, causing the exception. Adding [dateFormatter setLocale:[NSLocale systemLocale]]; after that line seems to fix the issues that I'm experiencing, but I don't know whether that could be considered a solution.
The text was updated successfully, but these errors were encountered:
…ettings.
- Changed NSDateFormatter locale in TTMDateUtility class to work around bugs related to setting the "high" date in some locales (namely Russia with 12 hour clock).
- Integration tests were performed with several locales. Unit tests all passed.
I customized time representation through System Preferences on my system and that apparently doesn't work well with TodoTxtMac. The app doesn't add tasks (pressing Enter simply removes focus from TextArea) and it doesn't open existing lists. To be more specific, I'm using the preset for Russian region but with 12-hour time format (default is 24-hour).
I used the debugger and found out that
NSDateFormatter
fails to parse the fake due date and returnsnil
here which then it's being used here, causing the exception. Adding[dateFormatter setLocale:[NSLocale systemLocale]];
after that line seems to fix the issues that I'm experiencing, but I don't know whether that could be considered a solution.The text was updated successfully, but these errors were encountered: