Re: [twsocket] RFC 2822 date format - Timezone

2010-09-23 Thread Arno Garrels
Zvone wrote: function TimeZoneBias : String; in OverbyteIcsSmtpProt.pas if timezone could not be calculated (TIME_ZONE_ID_INVALID) or if it is GMT (UTC) it returns - as result. I think it should return - only if GetTimeZoneInformation fails (result TIME_ZONE_ID_INVALID), otherwise

[twsocket] RFC 2822 date format - Timezone

2010-09-21 Thread Zvone
I think there might be a slight issue with timezone bias calculation. In this function (haven't checked but similar could be used somewhere else too): function TimeZoneBias : String; in OverbyteIcsSmtpProt.pas if timezone could not be calculated (TIME_ZONE_ID_INVALID) or if it is GMT (UTC) it