[TZInfo-users] local_to_utc failure

Danny Burkes dburkes at infoteria.com
Mon Jan 28 17:13:01 EST 2008

Perhaps this is just my misunderstanding, but it appears as a bug to  
me, using tzinfo 0.3.6.  Using the 'Buenos Aires' timezone,  
local_to_utc conversions for local times during the DST transition in  
December 2007, always throw TzInfo::PeriodNotFound.

	tz = TimeZone['Buenos Aires']
	tz.local_to_utc(DateTime.new(2007,12,30,0,30,0), true)  -> throws  
	tz.local_to_utc(DateTime.new(2007,12,30,0,30,0), false)  -> throws  

Shouldn't these local_to_utc calls succeed?

Thank you,

Danny Burkes

More information about the TZInfo-users mailing list