1
Vote

TzTimeZone.CurrentTimeZone returns GMT and not BST for UK windows DST settings

description

During the summer the UK uses BST, not strict GMT, see http://wwp.greenwichmeantime.com/time-zone/europe/uk/.

comments

MathiasHolmgren wrote Jun 24, 2008 at 12:09 PM

To reproduce, change windows time zone to the GMT time zone (London) AND check the "automatically adjust clock for daylight saving changes".

The TzTimeZone.CurrentTimeZone will incorrectly return a UTC time zone object which returns null for this method call (when 'today' is i.e. june 24 2008):
TzTimeZone.CurrentTimeZone.GetDaylightChanges(2008)

It should return a western european summer time zone (preferably), OR a BST time zone OR an UTC time zone WITH daylight changes dates set.

It would be awesome if PublicDomain would have full support for Western European Time and not just strict UTC, which seems to have no or incomplete DST support. This is an important feature for any application performing european time zone conversion

Hint: The world's #1 financial center is London :)

wrote Feb 14, 2013 at 1:55 AM