Skip to content

Time filter marks Time instance as invalid when Time.zone is not nil #94

Closed
@tfausak

Description

require 'active_support/time'
Time.zone = 'Central Time (US & Canada)'

class Interaction < ActiveInteraction::Base
  time :time
  def execute; inputs end
end

Interaction.run! time: Time.now
# => ActiveInteraction::InvalidInteractionError: Time is not a valid time

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions