RebelBB bug
Graham22-Mar-2008/21:43:38+1:00
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

<code>
if find reply "Date:" [
if not find reply "X" [
remove/part reply 6
_date1: parse-header-date reply
]
]
</code>

'_date1 will always be 'now as 'parse-header-date returns 'now when to date! encounters a date conversion error.
Graham22-Mar-2008/21:46:31+1:00
This was also reported by Gabriele

http://www.rebol.net/cgi-bin/rambo.r?id=4302&
GreG24-Mar-2008/19:17:58+1:00
Thanks for this bug report. Best would be a patch for parse-header-date.

Login required to Post.


Powered by RebelBB and REBOL 2.7.8.4.2