Another date/zone inconsistency
[1/2] from: pwawood::mango::net::my at: 16-Jan-2005 17:10
It seems that to-date ignores a timezone without a preceeding plus or minus
sign whereas directly setting the timezone allows an unsigned timezone :
>> rdate: to-date "31-12-9999 23:59:59 8:00"
== 31-Dec-9999/23:59:59
>> rdate/zone
== 0:00
>> rdate/zone: 8:00
== 8:00
>> rdate/zone
== 8:00
Regards
Peter
[2/2] from: gabriele::colellachiara::com at: 16-Jan-2005 12:54
Hi PeterWAWood,
On Sunday, January 16, 2005, 10:10:39 AM, you wrote:
P> It seems that to-date ignores a timezone without a preceeding plus or minus
P> sign whereas directly setting the timezone allows an unsigned timezone :
I guess when converting a string REBOL is being more strict, i.e.
it is applying more validation. Whether this is desirable or not
is probably debatable...
I'd say, submit to RAMBO.
Regards,
Gabriele.
--
Gabriele Santilli <g.santilli-tiscalinet.it> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/







