Craig's development blog

The development world according to Craig. A bit of this and that from all over.

Tuesday, November 16, 2004

Found a bug in Delphi 7

I got irritated with Delphi 7's SOAP implementation today. I was wondering why their XML code didn't produce the correct xs:datetime values with a local-bias for South Africa. So I filed bug# 9547 on Borland's Quality Central site.


The function DateTimeToXMLTime and XMLTimeToDateTime in XSBuiltIns.pas don't apply a local-bias for time-zones without transition times for daylight savings. e.g. South Africa uses GMT+2 (Harare, Pretoria) but we don't use daylight savings and therefore have no transition dates. The GetTimeZoneInformation API function is documented in the Platform SDK.

1 Comments:

  • At 8:14 pm, Blogger Unknown said…

    Hello, I just wanted to take a minute to tell you that you have a great site! Keep up the good work. Your article inspired me to be in writing blog. Such a well written post.. Thnx for sharing this post!

    -
    Delphi Consulting Services

     

Post a Comment

<< Home