I use several 3rd party gems (ri_cal and others) that can generate
times for me.  These libraries sometimes wander into AmbiguousTimes -
when they are generating repeat events, for example.

I would rather not have to worry about AmbiguousTimes, ever.  It seems
like a simple solution is to provide a default for the dst value that
is passed in when generating local times.  To this end, I have
attached the included patch file, complete with tests.

Timezone.default_dst= true/false[/nil]

I hope it can be integrated into tzinfo in the near future.

Thanks!
Kurt
-- 
[email protected]
http://www.CircleW.org/kurt/

Attachment: tzinfo.patch
Description: Binary data

_______________________________________________
TZInfo-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/tzinfo-users

Reply via email to