Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] to-fussy-idate

From: pwawood::mango::net::my at: 17-Jan-2005 11:54

I have just submitted a script to the library that converts a date according to a strict interpration of the RFC 822 standard which I believe is used in MIME encoding. I called it to-fussy-idate. I have used the RFC 822 acronym UT for the time offset. In more modern standards the acronym UTC appears to be used. RFC 822 allows GMT to be used as an alternative. Would it better to use GMT rather than UT as the acronym ? I concentrated on getting a working function and haven't looked at optimising the function. On a test of converting 10,000 dates, it was just under 20 per cent slower than the built-in to-idate mezzanine function. I'm sure that to-fussy idate could be improved and welcome any comments. Regards Peter