Exception: TimeCrisis::TZInfo::AmbiguousTime

Inherits:
StandardError
  • Object
show all
Defined in:
lib/time_crisis/tzinfo/timezone.rb

Overview

Indicate a specified time in a local timezone has more than one possible time in UTC. This happens when switching from daylight savings time to normal time where the clocks are rolled back. Thrown by period_for_local and local_to_utc when using an ambiguous time and not specifying any means to resolve the ambiguity.