Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-02

trunk/packages/libxml/src/xmlxsdparser.pas

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

José Mejuto

Hello FPC-Pascal,

Browsing recent changes in compiler I saw that xmlxsdparser has been updated with some timezone functions conversion. This conversions seems wrong to me as they are performed using "today" conditions not given date/time conditions, so if today the computer is in daylight saving mode and the date is 6 months away the result date will be one hour wrong.

Check http://wiki.lazarus.freepascal.org/PascalTZ for further data about this "problem".

Best regards, José
Florian Klaempfl
to José Mejuto
José Mejuto wrote 12 lines
Hello FPC-Pascal, Browsing recent changes in compiler I saw that xmlxsdparser has been updated with some timezone functions conversion. This conversions seems wrong to me as they are performed using "today" conditions not given date/time conditions, so if today the computer is in daylight saving mode and the date is 6 months away the result date will be one hour wrong. Check http://wiki.lazarus.freepascal.org/PascalTZ for further data about this "problem".

Please create a bug report about this.