Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8694

Comparison of Numeric to Timestamp/Timespan fails, but other way is ok

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • Docs
    • None
    • Platform Core
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • Hide
      When comparing Numeric to Timestamp or Timespan it did not work to compare with the Numeric value first. This is now fixed.
      Show
      When comparing Numeric to Timestamp or Timespan it did not work to compare with the Numeric value first. This is now fixed.
    • No Action

    Description

      When comparing Numeric to Timestamp or Timespan it does not work to compare with the Numeric value first:

      1 < Timespan(2)
      1 < Timestamp(2)
      

      but works in reverse

      Timespan(2) > 1
      Timestamp(2) > 1
      

      It should work both ways.

      Attachments

        Activity

          People

            Unassigned Unassigned
            henrik.lindberg Henrik Lindberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support