-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Github Project: Invalid date: 2015-06-14T13:10:31Z #11
Comments
Thank your for reporting this issue. We'll investigate that. |
I dug a bit into this problem and it seems |
With this change, I hacked together with my limited skills in elisp, it works: (defun org-sync-parse-date (date)
"Parse and return DATE as a time or nil."
(defun replace-in-string (what with in)
(replace-regexp-in-string (regexp-quote what) with in nil 'literal))
(when (and (stringp date) (not (string= date "")))
(date-to-time (replace-in-string "T" " " date)))) But I can see that it will create a mess, for example if the Timezone is not zulu but central european time (CET), so no proper fix. |
Hello, I have something similar that i had to do for org-trello to deal with iso 8601 conversion date for org-mode to understand https://github.com/org-trello/org-trello/blob/master/org-trello-date.el. It's tested:
It may not be perfect but it does the job currently. Cheers, |
I'll look at it on Friday, thank you! |
This issue occurs with the gitlab back end too. It's quite bad because it breaks complete functionality of |
@divansantana I think I temporarily worked around that in the code merged with #34 for gitlab by simply not parsing out the due_date. We don't handle it properly so better not handle it at all since it's causing other problems. |
@plajjan great stuff, thanks! |
When I tried to import one of my projects I get this backtrace:
The text was updated successfully, but these errors were encountered: