|Actually this is a Rebol bug, but when IMAP servers return a date string with a timezone of +1300 ( my current timezone), then to date! fails. |
So, in this code
if find reply "Date:" [
if not find reply "X" [
remove/part reply 6
_date1: parse-header-date reply
'_date1 will always be 'now as 'parse-header-date returns 'now when to date! encounters a date conversion error.
|This was also reported by Gabriele|
|Thanks for this bug report. Best would be a patch for parse-header-date.|
Login required to Post.