Skip to content

Ruby SDK evaluates date conditions as false #220

@zbycz

Description

@zbycz

Describe the bug
If i create a date condition such as this in LD UI, this library always evaluates it as false. (We also use React JS client which works fine.)

Example of UI:
Screenshot 2023-06-02 at 15 00 04

To reproduce

  1. create a new flag with date condition on attribute. It should evaluate to true (ie. past date)
  2. ask for this condition in Ruby code
  3. observe false

SDK version
7.2.0

Language version, developer tools
ruby 3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions